http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97601
Revision: 97601
Author: nikerabbit
Date: 2011-09-20 08:18:20 +0000 (Tue, 20 Sep 2011)
Log Message:
-----------
Fixing a bug in r97495 that Aaron catched. I misinterpreted the documentation
for what 'valid' means.
Modified Paths:
--------------
trunk/phase3/includes/PatrolLog.php
Modified: trunk/phase3/includes/PatrolLog.php
===================================================================
--- trunk/phase3/includes/PatrolLog.php 2011-09-20 06:56:40 UTC (rev 97600)
+++ trunk/phase3/includes/PatrolLog.php 2011-09-20 08:18:20 UTC (rev 97601)
@@ -30,7 +30,7 @@
$entry = new ManualLogEntry( 'patrol', 'patrol' );
$entry->setTarget( $title );
$entry->setParameters( self::buildParams( $rc, $auto )
);
- $entry->setPerformer( User::newFromName(
$rc->getAttribute( 'rc_user_text' ) ) );
+ $entry->setPerformer( User::newFromName(
$rc->getAttribute( 'rc_user_text' ), false ) );
$logid = $entry->insert();
if ( !$auto ) {
$entry->publish( $logid, 'udp' );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs