rename argv to getArgumentValue
This commit is contained in:
parent
2c541afd47
commit
059bd1307f
1 changed files with 1 additions and 1 deletions
|
@ -2536,7 +2536,7 @@ function admin_page_features_post(App $a)
|
|||
*/
|
||||
function admin_page_features(App $a)
|
||||
{
|
||||
if (($a->argc > 1) && ($a->argv[1] === 'features')) {
|
||||
if (($a->argc > 1) && ($a->getArgumentValue(1) === 'features')) {
|
||||
$arr = [];
|
||||
$features = Feature::get(false);
|
||||
|
||||
|
|
Loading…
Reference in a new issue