mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-30 05:16:28 +02:00
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:
parent
cdedb023d7
commit
d1ee73336d
1 changed files with 1 additions and 1 deletions
|
@ -51,5 +51,5 @@
|
||||||
exit(2); //Sorti avec erreur
|
exit(2); //Sorti avec erreur
|
||||||
}
|
}
|
||||||
|
|
||||||
$controller->$options['c'](); //On appel la fonction
|
$controller->{$options['c']}(); //On appel la fonction
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue