Fixed bug caused by unset( $this->mSkin ) in User::setOption which was removing the...
authorTrevor Parscal <tparscal@users.mediawiki.org>
Mon, 20 Sep 2010 19:04:16 +0000 (19:04 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Mon, 20 Sep 2010 19:04:16 +0000 (19:04 +0000)
commit0df196f2c6521b12f91c8df4fccfe77e6355299b
tree2ea644fc747cfa28eb0931a2c68aded265ca83dd
parentf652151c4143c84567f563027a83c2330584bc09
Fixed bug caused by unset( $this->mSkin ) in User::setOption which was removing the member, not just setting it to null, which would cause errors when later on checking if ( ! $this->mSkin ) such as in User::getSkin. By using $this->mSkin = null instead, the same effect of showing the new skin preference immediately on change in Special:Preferences without causing errors.
includes/User.php