Merge "Additional indent-pre and template interaction tests."
authorGWicke <gwicke@wikimedia.org>
Tue, 2 Oct 2012 04:41:23 +0000 (04:41 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 2 Oct 2012 04:41:23 +0000 (04:41 +0000)
includes/specials/SpecialUserlogin.php

index 7e66797..b7d01c8 100644 (file)
@@ -997,7 +997,7 @@ class LoginForm extends SpecialPage {
                        $redirectUrl = $returnToTitle->getFullURL( $returnToQuery, false, $proto );
                        $this->getOutput()->redirect( $redirectUrl );
                } else {
-                       $this->getOutput()->addReturnTo( $returnToTitle, $returnToQuery, $options );
+                       $this->getOutput()->addReturnTo( $returnToTitle, $returnToQuery, null, $options );
                }
        }