From: Joe Hunt Date: Mon, 15 Feb 2021 07:57:34 +0000 (+0100) Subject: Bug 5352: missing global declaration in reset_form() in attachments.php. Fixed. X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=220f68cab16f746b276c7eaefba368ce6654178a Bug 5352: missing global declaration in reset_form() in attachments.php. Fixed. --- 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;