Commit 18d1de61 by lynicidn

fix #3478

it correct work with integer keys of list
parent f648d0b1
......@@ -780,7 +780,7 @@ class BaseConsole
}
static::output(" ? - Show help");
goto top;
} elseif (!in_array($input, array_keys($options))) {
} elseif (!array_key_exists($input, $options)) {
goto top;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment