From dc292f2de5c199d04d50357fa0cad7217f208614 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Tue, 20 Apr 2010 22:24:37 +0000 Subject: [PATCH] Didn't show 'View Attachments' for Journal Entries --- CHANGELOG.txt | 4 ++++ includes/ui/ui_controls.inc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index c041b3bf..4fdd7734 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -22,6 +22,10 @@ $ -> Affected files 21-Apr-2010 Joe Hunt # Bug in systypes selector (no type update) $ /admin/attachments.php +! Better layout +$ /admin/company_preferences.php +# Didn't show 'View Attachments' for Journal Entries +$ /includes/ui/ui_controls.inc 20-Apr-2010 Joe Hunt + Added option for Manual Revaluation of Currency Accounts diff --git a/includes/ui/ui_controls.inc b/includes/ui/ui_controls.inc index 287b446a..a6ca7974 100644 --- a/includes/ui/ui_controls.inc +++ b/includes/ui/ui_controls.inc @@ -156,7 +156,7 @@ function hyperlink_back($center=true, $no_menu=true, $type_no=0, $trans_no=0) if ($center) echo "
"; $id = 0; - if ($no_menu && $type_no != 0 && $trans_no != 0) + if ($no_menu && $trans_no != 0) { include_once($path_to_root."/admin/db/attachments_db.inc"); $id = has_attachment($type_no, $trans_no); -- 2.30.2