diff --git a/bureau/class/variables.php b/bureau/class/variables.php index a57a94f3..b166a995 100644 --- a/bureau/class/variables.php +++ b/bureau/class/variables.php @@ -109,7 +109,7 @@ function variable_get($name, $default = null, $createit_comment = null) { * of serialization as necessary. */ function variable_set($name, $value, $comment=null) { - global $conf, $db, $err, $hook; + global $conf, $db, $err, $hooks; $err->log('variable', 'variable_set', '+'.serialize($value).'+'.$comment.'+'); variable_init_maybe();