Index: trunk/phase3/includes/LogPage.php |
— | — | @@ -259,7 +259,7 @@ |
260 | 260 | |
261 | 261 | if ($doer === null) { |
262 | 262 | global $wgUser; |
263 | | - $doer = $wgUser->getId(); |
| 263 | + $doer = $wgUser; |
264 | 264 | } elseif (!is_object( $doer ) ) { |
265 | 265 | $doer = User::newFromId( $doer ); |
266 | 266 | } |