From: Victor Vasiliev Date: Sun, 23 Dec 2007 13:12:25 +0000 (+0000) Subject: (bug 12392) new file includes/Autopromote.php calling non existing function X-Git-Tag: 1.31.0-rc.0~50292 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=8893d50cb353186441625da32d576e5eac0815e4;p=lhc%2Fweb%2Fwiklou.git (bug 12392) new file includes/Autopromote.php calling non existing function --- diff --git a/includes/Autopromote.php b/includes/Autopromote.php index 97ea48d8c1..35f27ba950 100644 --- a/includes/Autopromote.php +++ b/includes/Autopromote.php @@ -49,7 +49,7 @@ class Autopromote { if( User::isValidEmailAddr( $user->getEmail() ) ) { global $wgEmailAuthentication; if( $wgEmailAuthentication ) { - return boolval( $user->getEmailAuthenticationTimestamp() ); + return $user->getEmailAuthenticationTimestamp() ? true : false; } else { return true; }