r37374 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37373‎ | r37374 | r37375 >
Date:08:21, 9 July 2008
Author:werdna
Status:old
Tags:
Comment:
Fatal errors are bad
Modified paths:
  • /trunk/phase3/includes/LogPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogPage.php
@@ -259,7 +259,7 @@
260260
261261 if ($doer === null) {
262262 global $wgUser;
263 - $doer = $wgUser->getId();
 263+ $doer = $wgUser;
264264 } elseif (!is_object( $doer ) ) {
265265 $doer = User::newFromId( $doer );
266266 }

Status & tagging log