From 5f2c2ab63639d2330a87384332396785901447e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Tue, 20 Sep 2011 08:18:20 +0000 Subject: [PATCH] Fixing a bug in r97495 that Aaron catched. I misinterpreted the documentation for what 'valid' means. --- includes/PatrolLog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/PatrolLog.php b/includes/PatrolLog.php index 755d165bca..04fdc4f2a6 100644 --- a/includes/PatrolLog.php +++ b/includes/PatrolLog.php @@ -30,7 +30,7 @@ class PatrolLog { $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' ); -- 2.20.1