Fix embarrassing mistake in r98718
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 3 Oct 2011 16:26:10 +0000 (16:26 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 3 Oct 2011 16:26:10 +0000 (16:26 +0000)
includes/specials/SpecialUserlogin.php

index 05a45e4..9ad513d 100644 (file)
@@ -1042,7 +1042,7 @@ class LoginForm extends SpecialPage {
                
                // Use loginend-https for HTTPS requests if it's not blank, loginend otherwise
                // Ditto for signupend
-               $usingHTTPS = WebRequest::detectProtocol();
+               $usingHTTPS = WebRequest::detectProtocol() == 'https';
                $loginendHTTPS = wfMessage( 'loginend-https' );
                $signupendHTTPS = wfMessage( 'signupend-https' );
                if ( $usingHTTPS && !$loginendHTTPS->isBlank() ) {