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
$this->mSkin = $this->createSkinObject();
$this->mSkin->setTitle( $wgOut->getTitle() );
}
- if ( $t && !$t->equals( $this->mSkin->getTitle() ) ) {
+ if ( $t && ( !$this->mSkin->getTitle() || !$t->equals( $this->mSkin->getTitle() ) ) ) {
$skin = $this->createSkinObject();
$skin->setTitle( $t );
return $skin;