* (bug 11342) Fix several 'returnto' links in permissions/error pages which
[lhc/web/wiklou.git] / includes / OutputPage.php
index 3f69fab..60cf395 100644 (file)
@@ -1060,7 +1060,7 @@ class OutputPage {
                $article = new Article( $wgTitle );
                $this->addHTML( $skin->formatTemplates( $article->getUsedTemplates() ) );
 
-               $this->returnToMain( false );
+               $this->returnToMain( false, $wgTitle );
        }
 
        /** @deprecated */