* @ to avoid undefined index notice
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Wed, 5 Oct 2005 23:02:33 +0000 (23:02 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Wed, 5 Oct 2005 23:02:33 +0000 (23:02 +0000)
maintenance/updateSpecialPages.php

index 3605362..880bed1 100644 (file)
@@ -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";