aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/vtemplate.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vtemplate.class.php b/include/vtemplate.class.php
index 45dfd7f10..dcf48bf9b 100644
--- a/include/vtemplate.class.php
+++ b/include/vtemplate.class.php
@@ -141,7 +141,7 @@ if ( !isset( $DEFINE_VTEMPLATE ) )
$regle = "|".VARTAG."(.*)}|sU";
preg_match_all ($regle,$this->source,$var1);
// Création du tableau de variable à partir de la liste parsée.
- $this->varlist=@array_merge($var[1],$var1[1]);
+ $this->varlist=@array_merge((array)$var[1],(array)$var1[1]);
return 1;
}