projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa4e64c
)
Bug 5352: missing global declaration in reset_form() in attachments.php. Fixed.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 15 Feb 2021 07:57:34 +0000
(08:57 +0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 15 Feb 2021 07:57:34 +0000
(08:57 +0100)
admin/attachments.php
patch
|
blob
|
history
diff --git
a/admin/attachments.php
b/admin/attachments.php
index 5b5e8247511c359d923f3f85f8a61475dcb5f215..b3ad754532e165c5dab0a41bb5cb1e276962d871 100644
(file)
--- 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;