From c8353f3f21be0c870b7161f35afacef081ce30e7 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Sun, 13 Mar 2016 13:23:11 +0100 Subject: [PATCH] initialize , Fixes #56 --- bureau/class/variables.php | 1 + 1 file changed, 1 insertion(+) 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;