From 7b3ec642a016cbf357023768b48add493303b4ba Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Thu, 12 Apr 2007 23:51:12 +0000 Subject: [PATCH] fix notice with $options --- maintenance/cleanupSpam.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/cleanupSpam.php b/maintenance/cleanupSpam.php index 0972d03092..534e160d79 100644 --- a/maintenance/cleanupSpam.php +++ b/maintenance/cleanupSpam.php @@ -76,7 +76,7 @@ if ( !$like ) { $dbr = wfGetDB( DB_SLAVE ); -if ( $options['all'] ) { +if ( isset($options['all']) ) { // Clean up spam on all wikis $dbr = wfGetDB( DB_SLAVE ); print "Finding spam on " . count($wgLocalDatabases) . " wikis\n"; -- 2.20.1