rename argv to getArgumentValue

This commit is contained in:
Philipp Holzer 2018-10-13 19:05:54 +02:00
parent 2c541afd47
commit 059bd1307f
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5
1 changed files with 1 additions and 1 deletions

View File

@ -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);