rename argv to getArgumentValue

This commit is contained in:
Philipp Holzer
2018-10-13 19:05:54 +02:00
parent 2c541afd47
commit 059bd1307f

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