initialize , Fixes #56
This commit is contained in:
parent
0509d2915d
commit
c8353f3f21
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue