r82222 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82221‎ | r82222 | r82223 >
Date:07:34, 16 February 2011
Author:demon
Status:ok
Tags:
Comment:
MFT r81827
Modified paths:
  • /branches/wmf/1.17wmf1/includes/User.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/includes/User.php
@@ -2260,7 +2260,7 @@
22612261 $this->mSkin = $this->createSkinObject();
22622262 $this->mSkin->setTitle( $wgOut->getTitle() );
22632263 }
2264 - if ( $t && !$t->equals( $this->mSkin->getTitle() ) ) {
 2264+ if ( $t && ( !$this->mSkin->getTitle() || !$t->equals( $this->mSkin->getTitle() ) ) ) {
22652265 $skin = $this->createSkinObject();
22662266 $skin->setTitle( $t );
22672267 return $skin;
Property changes on: branches/wmf/1.17wmf1/includes/User.php
___________________________________________________________________
Modified: svn:mergeinfo
22682268 Merged /trunk/phase3/includes/User.php:r81827

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r81827Fix for r81675: Skin::getTitle() will return null when $wgTitle is null and $...ialex17:05, 9 February 2011

Status & tagging log