From: Aaron Schulz Date: Wed, 21 Jan 2009 15:08:22 +0000 (+0000) Subject: Fix typo in r45863; argument in wrong place X-Git-Tag: 1.31.0-rc.0~43325 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=33f4b2b2726806e43b825fb5fb3397cc1d99764e;p=lhc%2Fweb%2Fwiklou.git Fix typo in r45863; argument in wrong place --- 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; }