From 220f68cab16f746b276c7eaefba368ce6654178a Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Mon, 15 Feb 2021 08:57:34 +0100 Subject: [PATCH] Bug 5352: missing global declaration in reset_form() in attachments.php. Fixed. --- admin/attachments.php | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/attachments.php b/admin/attachments.php index 5b5e8247..b3ad7545 100644 --- a/admin/attachments.php +++ b/admin/attachments.php @@ -163,6 +163,7 @@ if ($Mode == 'RESET') function reset_form() { + global $selected_id; unset($_POST['trans_no']); unset($_POST['description']); $selected_id = -1; -- 2.30.2