X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fjsparse.php;h=aa5077d82dd033373a44f2618d36320662ec0983;hb=9d82a218ac3812da2adbb68600fd488970b79f90;hp=661ec9862b3ccfc4fe1fe1b538567e1974bf3408;hpb=51e40a712f2f2eb57216b26a16c91d14f74d5cf2;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 :)