Correct error on php 7.0

Line 54 returns array to string conversion on PHP 7. This does not allow the command to be executed as the command is understood as an array. Brace are correcting this problem and should be compatible with older versions of PHP.
This commit is contained in:
extrablind 2016-11-29 14:56:06 +01:00 committed by GitHub
parent cdedb023d7
commit d1ee73336d

View file

@ -51,5 +51,5 @@
exit(2); //Sorti avec erreur
}
$controller->$options['c'](); //On appel la fonction
$controller->{$options['c']}(); //On appel la fonction