From: River Tarnell Date: Fri, 1 Jul 2005 08:50:27 +0000 (+0000) Subject: initialise $changed to prevent warning X-Git-Tag: 1.5.0beta2~105 X-Git-Url: http://git.cyclocoop.org/data/Luca_Pacioli_%28Gemaelde%29.jpeg?a=commitdiff_plain;h=6180a3fda27edc7ec5be9b7f8a3af0c05ac8a18b;p=lhc%2Fweb%2Fwiklou.git initialise $changed to prevent warning fix display of new talk notification in non-template skins --- diff --git a/includes/Skin.php b/includes/Skin.php index eced385591..a2f4ad826d 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -535,7 +535,7 @@ END; # do not show "You have new messages" text when we are viewing our # own talk page - if( $wgTitle->equals( $wgUser->getTalkPage() ) ) { + if( !$wgTitle->equals( $wgUser->getTalkPage() ) ) { $tl = $this->makeKnownLinkObj( $wgUser->getTalkPage(), wfMsg('newmessageslink') ); $s.= ' | '. wfMsg( 'newmessages', $tl ) . '';