r101254 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101253‎ | r101254 | r101255 >
Date:11:29, 29 October 2011
Author:petrb
Status:deferred
Tags:
Comment:
wrong parameter for update
Modified paths:
  • /trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php
@@ -160,7 +160,7 @@
161161 $dbw->update(
162162 'online_status',
163163 array( 'timestamp' => $dbw->timestamp() ),
164 - array( 'username' => $wgUser->getID() ),
 164+ array( 'username' => $wgUser->getName() ),
165165 __METHOD__
166166 );
167167

Status & tagging log