initialize , Fixes #56
This commit is contained in:
parent
0509d2915d
commit
c8353f3f21
|
@ -43,6 +43,7 @@
|
||||||
function variable_init($conf = array()) {
|
function variable_init($conf = array()) {
|
||||||
global $db;
|
global $db;
|
||||||
$result = $db->query('SELECT * FROM `variable`');
|
$result = $db->query('SELECT * FROM `variable`');
|
||||||
|
$variables=array();
|
||||||
while ($db->next_record($result)) {
|
while ($db->next_record($result)) {
|
||||||
/* maybe the data is *not* serialized, in that case, take it verbatim */
|
/* maybe the data is *not* serialized, in that case, take it verbatim */
|
||||||
$variable = $db->Record;
|
$variable = $db->Record;
|
||||||
|
|
Loading…
Reference in New Issue