diff --git a/admin.php b/admin.php index 3d85347..813378c 100644 --- a/admin.php +++ b/admin.php @@ -210,8 +210,9 @@ function replace_show(which) { * output appropriate html */ function html() { - $this->macros_data = $this->get_macros(); - $this->js(); + global $ID; + $this->macros_data = $this->get_macros(); + $this->js(); if($this->output) { ptln('
' . $this->output . '
'); }