X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=blobdiff_plain;f=maintenance%2Fjsparse.php;h=aa5077d82dd033373a44f2618d36320662ec0983;hb=09ee5d2505f99cc146f871307be7ac00b7368d76;hp=661ec9862b3ccfc4fe1fe1b538567e1974bf3408;hpb=220bda9175a18458449e9d754fb48830c1f76f25;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 :)