Fix for r81675: Skin::getTitle() will return null when $wgTitle is null and $wgOut...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 9 Feb 2011 17:05:52 +0000 (17:05 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 9 Feb 2011 17:05:52 +0000 (17:05 +0000)
commitebcd89f35bac04080b8907f3a971b6b885dad84b
tree0c4023f9d01e6743314d6c7ff5fdc64dfeaf99da
parentd60c4d09e7b1e5a0348a379a3a45d7ebe18c7a0c
Fix for r81675: Skin::getTitle() will return null when $wgTitle is null and $wgOut->setTitle() not called, resulting in the following when passing a non-null parameter to User::getSkin():
Catchable fatal error: Argument 1 passed to Title::equals() must be an instance of Title, null given, called in includes/User.php on line 2255 and defined in includes/Title.php on line 3689
includes/User.php