Skip to content
Extraits de code Groupes Projets
Valider 951ba104 rédigé par marcimat's avatar marcimat
Parcourir les fichiers

Notice PHP en moins lorsqu'on a un fichier lang/local_xx.php et qu'une...

Notice PHP en moins lorsqu'on a un fichier lang/local_xx.php et qu'une traduction 'module:cle' est demandée, alors que ce module là n'existe pas.
parent 10b2302f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -152,7 +152,7 @@ function surcharger_langue($fichiers) { ...@@ -152,7 +152,7 @@ function surcharger_langue($fichiers) {
} }
if (is_array($surcharges[$fichier])) { if (is_array($surcharges[$fichier])) {
$GLOBALS[$GLOBALS['idx_lang']] = array_merge( $GLOBALS[$GLOBALS['idx_lang']] = array_merge(
(array)$GLOBALS[$GLOBALS['idx_lang']], (isset($GLOBALS[$GLOBALS['idx_lang']]) ? (array)$GLOBALS[$GLOBALS['idx_lang']] : array()),
$surcharges[$fichier] $surcharges[$fichier]
); );
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter