From ce98207bc361a40a9300175bd3cf17693cbb2d6f Mon Sep 17 00:00:00 2001 From: "J. B. Crawford" Date: Sat, 12 Apr 2025 14:57:22 -0600 Subject: [PATCH] Fix missing global variable --- admin.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 . '
'); }