From 1f61fb0d65480ff044dd93f74f657f434d1b3c7f Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 5 Apr 2012 20:02:59 +0200 Subject: [PATCH] Fix error from I55939bb5295e73594c3fdf7287dddbc16a233ce4 (r4099) pointed out by Nikerabbit The error is "PHP Strict Standards: Creating default object from empty value in includes/User.php on line 2142"; the problem was that I forgot to renamed an instance of that variable while refactoring the code. Change-Id: I4e32311693708ec5a0227d60f7818b374fccd4cc --- includes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/User.php b/includes/User.php index 9c5a11c68b..af923ffeeb 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2139,7 +2139,7 @@ class User { $result = $this->sendConfirmationMail( $type ); if ( $result->isGood() ) { # Say the the caller that a confirmation mail has been sent - $status->value = 'eauth'; + $result->value = 'eauth'; } } else { $result = Status::newGood( true ); -- 2.20.1