X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fjsparse.php;h=aa5077d82dd033373a44f2618d36320662ec0983;hb=925dcce9609fbcad58effb10988ecd09aa5a12d2;hp=661ec9862b3ccfc4fe1fe1b538567e1974bf3408;hpb=1b4dbef5fe2274885aed004791d9f4c120adba2a;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/jsparse.php b/maintenance/jsparse.php index 661ec9862b..aa5077d82d 100644 --- a/maintenance/jsparse.php +++ b/maintenance/jsparse.php @@ -38,7 +38,7 @@ class JSParseHelper extends Maintenance { } public function execute() { - if ( $this->hasArg() ) { + if ( $this->hasArg( 0 ) ) { $files = $this->mArgs; } else { $this->maybeHelp( true ); // @todo fixme this is a lame API :)