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:
a0aa095
)
Rerun of setup item Attachment. admin/attqachments.php.
author
Joe
<joe.hunt.consulting@gmail.com>
Sun, 30 Apr 2023 15:52:54 +0000
(17:52 +0200)
committer
Joe
<joe.hunt.consulting@gmail.com>
Sun, 30 Apr 2023 15:52:54 +0000
(17:52 +0200)
admin/attachments.php
patch
|
blob
|
history
diff --git
a/admin/attachments.php
b/admin/attachments.php
index c000990a7a8f95373e46bfe49a393ed07e9fa867..801d9628eb2357b10f995399ca6f606265582d14 100644
(file)
--- a/
admin/attachments.php
+++ b/
admin/attachments.php
@@
-198,7
+198,7
@@
function viewing_controls()
function trans_view($trans)
{
- if ($t
ype==ST_SUPPLIER || $type==ST_CUSTOMER || $type
==ST_ITEM)
+ if ($t
rans['type_no']==ST_SUPPLIER || $trans['type_no']==ST_CUSTOMER || $trans['type_no']
==ST_ITEM)
return $trans['id'];
return get_trans_view_str($trans["type_no"], $trans["trans_no"]);
}