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 1df1666846
commit de1c028bd1
1 changed files with 1 additions and 1 deletions

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