From 8893d50cb353186441625da32d576e5eac0815e4 Mon Sep 17 00:00:00 2001 From: Victor Vasiliev Date: Sun, 23 Dec 2007 13:12:25 +0000 Subject: [PATCH] (bug 12392) new file includes/Autopromote.php calling non existing function --- includes/Autopromote.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1