X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2Fjsparse.php;h=aa5077d82dd033373a44f2618d36320662ec0983;hp=661ec9862b3ccfc4fe1fe1b538567e1974bf3408;hb=a38af7ba26579bb3004f673e44d39710887763aa;hpb=12ff4dec05ff8bb1a1910bf6745155b93e1912b5 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 :)