r29795 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r29794‎ | r29795 | r29796 >
Date:15:46, 15 January 2008
Author:catrope
Status:old
Tags:
Comment:
ChangeAuthor: Surpress E_STRICT message about unset variables
Modified paths:
  • /trunk/extensions/ChangeAuthor/ChangeAuthor.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ChangeAuthor/ChangeAuthor.body.php
@@ -194,6 +194,8 @@
195195 else
196196 $stxt = wfMsgHtml('historysize', $wgLang->formatNum( $size ) );
197197 }
 198+ else
 199+ $stxt = ''; // Stop PHP from whining about unset variables
198200 $comment = $this->skin->commentBlock($rev->getComment(), $title);
199201
200202 // Now put it all together

Status & tagging log