Skip to content

Commit

Permalink
Fixed deprecated function usage (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Jul 4, 2012
1 parent 319a7fa commit 1a4b284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/controller/TranslatableCMSMainExtension.php
Expand Up @@ -77,7 +77,7 @@ function createtranslation($data, $form) {
$langCode
);

return Director::redirect($url);
return $this->owner->redirect($url);
}

function updateLink(&$link) {
Expand Down

0 comments on commit 1a4b284

Please sign in to comment.