Bug 5352: missing global declaration in reset_form() in attachments.php. Fixed.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 15 Feb 2021 07:57:34 +0000 (08:57 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 15 Feb 2021 07:57:34 +0000 (08:57 +0100)
admin/attachments.php

index 5b5e8247511c359d923f3f85f8a61475dcb5f215..b3ad754532e165c5dab0a41bb5cb1e276962d871 100644 (file)
@@ -163,6 +163,7 @@ if ($Mode == 'RESET')
 
 function reset_form()
 {
+       global $selected_id;
        unset($_POST['trans_no']);
        unset($_POST['description']);
        $selected_id = -1;