Fix error from I55939bb5295e73594c3fdf7287dddbc16a233ce4 (r4099) pointed out by Niker...
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 5 Apr 2012 18:02:59 +0000 (20:02 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 5 Apr 2012 18:02:59 +0000 (20:02 +0200)
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

index 9c5a11c..af923ff 100644 (file)
@@ -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 );