From: Reedy Date: Mon, 1 Oct 2012 20:35:47 +0000 (+0100) Subject: Bug 40668 - "Return to Array." when logging in X-Git-Tag: 1.31.0-rc.0~22207^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=f2c3179f12b86116ccc4dbe39920eae218869b73;p=lhc%2Fweb%2Fwiklou.git Bug 40668 - "Return to Array." when logging in Change-Id: I847684cdc474d0694bf4fa5eddaa0d0b19e7be4e --- diff --git a/includes/specials/SpecialUserlogin.php b/includes/specials/SpecialUserlogin.php index 7e66797e3d..b7d01c8114 100644 --- a/includes/specials/SpecialUserlogin.php +++ b/includes/specials/SpecialUserlogin.php @@ -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 ); } }