Fix typo in r45863; argument in wrong place
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 21 Jan 2009 15:08:22 +0000 (15:08 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 21 Jan 2009 15:08:22 +0000 (15:08 +0000)
includes/PatrolLog.php

index f260369..5e97892 100644 (file)
@@ -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;
                }