From: Ævar Arnfjörð Bjarmason Date: Wed, 5 Oct 2005 23:02:33 +0000 (+0000) Subject: * @ to avoid undefined index notice X-Git-Tag: 1.6.0~1540 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=9d247e6682301a5fc99e8273cc064c9d40070af1;p=lhc%2Fweb%2Fwiklou.git * @ to avoid undefined index notice --- diff --git a/maintenance/updateSpecialPages.php b/maintenance/updateSpecialPages.php index 3605362574..880bed1d95 100644 --- a/maintenance/updateSpecialPages.php +++ b/maintenance/updateSpecialPages.php @@ -8,7 +8,7 @@ require_once( 'commandLine.inc' ); require_once( 'SpecialPage.php' ); require_once( 'QueryPage.php' ); -if($options['help']) { +if(@$options['help']) { print "usage:updateSpecialPages.php [--help] [--only=page]\n"; print " --help : this help message\n"; print " --only=page : only update 'page'. Ex: --only=BrokenRedirects\n";