Fixed a bug in User::loadOptions(), probably introduced in r49925, causing the User...
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 8 Feb 2012 05:25:19 +0000 (05:25 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 8 Feb 2012 05:25:19 +0000 (05:25 +0000)
includes/User.php

index 9b6f4e7..c56e2ff 100644 (file)
@@ -3997,6 +3997,7 @@ class User {
                                __METHOD__
                        );
 
+                       $this->mOptionOverrides = array();
                        foreach ( $res as $row ) {
                                $this->mOptionOverrides[$row->up_property] = $row->up_value;
                                $this->mOptions[$row->up_property] = $row->up_value;