From: Antoine Musso Date: Thu, 12 Apr 2007 23:51:12 +0000 (+0000) Subject: fix notice with $options X-Git-Tag: 1.31.0-rc.0~53410 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=7b3ec642a016cbf357023768b48add493303b4ba;p=lhc%2Fweb%2Fwiklou.git fix notice with $options --- 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";