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

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