From 33f4b2b2726806e43b825fb5fb3397cc1d99764e Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 21 Jan 2009 15:08:22 +0000 Subject: [PATCH] Fix typo in r45863; argument in wrong place --- includes/PatrolLog.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/PatrolLog.php b/includes/PatrolLog.php index f260369da6..5e97892485 100644 --- a/includes/PatrolLog.php +++ b/includes/PatrolLog.php @@ -22,8 +22,8 @@ class PatrolLog { } $title = Title::makeTitleSafe( $rc->getAttribute( 'rc_namespace' ), $rc->getAttribute( 'rc_title' ) ); if( is_object( $title ) ) { - $params = self::buildParams( $rc, $auto, $auto ? "skipUDP" : "UDP" ); - $log = new LogPage( 'patrol', false ); # False suppresses RC entries + $params = self::buildParams( $rc, $auto ); + $log = new LogPage( 'patrol', false, $auto ? "skipUDP" : "UDP" ); # False suppresses RC entries $log->addEntry( 'patrol', $title, '', $params ); return true; } -- 2.20.1