rename argv to getArgumentValue
parent
2c541afd47
commit
059bd1307f
|
@ -2536,7 +2536,7 @@ function admin_page_features_post(App $a)
|
||||||
*/
|
*/
|
||||||
function admin_page_features(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 = [];
|
$arr = [];
|
||||||
$features = Feature::get(false);
|
$features = Feature::get(false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue