Fix cli.php users delete option

This commit is contained in:
Bofh 2022-12-10 16:47:50 +01:00
parent 20513e7f23
commit 131d133af1
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ function cli__users($args) {
case 'delete':
case 'del':
$args = array_slice($args, 1);
if (count($args) !== 1) $help();
if (!isset($users[$args[0]]))
$msg = 'User "'.$args[0].'" does not exist.';
else {