From: Rob Church Date: Tue, 17 Jul 2007 16:52:55 +0000 (+0000) Subject: Fix X-Git-Tag: 1.31.0-rc.0~52045 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=b41b5d054701ea612e1e42cb12bc60fc818097ad;p=lhc%2Fweb%2Fwiklou.git Fix --- diff --git a/includes/User.php b/includes/User.php index b39f24f7f3..22443fabde 100644 --- a/includes/User.php +++ b/includes/User.php @@ -493,7 +493,7 @@ class User { if( !wfRunHooks( 'isValidPassword', array( $password, &$result ) ) ) return $result; if( $result === false ) - return $false; + return false; // Password needs to be long enough, and can't be the same as the username return strlen( $password ) >= $wgMinimalPasswordLength