Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

BUG: redirect to pages overview not working from page edit view #49

Merged
merged 1 commit into from Sep 6, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -44,7 +44,7 @@ function init() {
$transPage->ID
// ?locale will automatically be added
));
- } else {
+ } else if ($this->owner->class != 'CMSPagesController') {
// If the record is not translated, redirect to pages overview
return $this->owner->redirect(Controller::join_links(
singleton('CMSPagesController')->Link(),