diff --git a/bureau/class/variables.php b/bureau/class/variables.php index a99dc1bd..11d439da 100644 --- a/bureau/class/variables.php +++ b/bureau/class/variables.php @@ -43,6 +43,7 @@ function variable_init($conf = array()) { global $db; $result = $db->query('SELECT * FROM `variable`'); + $variables=array(); while ($db->next_record($result)) { /* maybe the data is *not* serialized, in that case, take it verbatim */ $variable = $db->Record;