1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-11-20 12:22:23 +03:00
Files
postfixadmin/scripts/postfixadmin-cli.php
Christian Boltz 4e9e3db75d 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.
2020-05-02 01:24:08 +02:00

12 KiB