]> git.mxchange.org Git - friendica.git/commitdiff
rename argv to getArgumentValue
authorPhilipp Holzer <admin@philipp.info>
Sat, 13 Oct 2018 17:05:54 +0000 (19:05 +0200)
committerPhilipp Holzer <admin@philipp.info>
Sat, 13 Oct 2018 17:05:54 +0000 (19:05 +0200)
mod/admin.php

index ade6b0cad1cac91507958f6e3e8fd7615a45129b..d0e8ab0e38e65bbe22e2e2063944f638d3bcdcfe 100644 (file)
@@ -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);