Fix parameter parsing for '-1'
'--quota -1' gets parsed as two options ("quota" and "1"), but it's meant to be "quota => -1". Make sure '-1' is considered as a value, not as an option. Also get rid of unset()'ing $params[$i] and (now?) superfluous recursive calls to __parseParams() to make the code less confusing.pull/343/merge
parent
fc464d6e69
commit
4e9e3db75d
Loading…
Reference in New Issue