Didn't show 'View Attachments' for Journal Entries
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Tue, 20 Apr 2010 22:24:37 +0000 (22:24 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Tue, 20 Apr 2010 22:24:37 +0000 (22:24 +0000)
CHANGELOG.txt
includes/ui/ui_controls.inc

index c041b3bf4fe45189c76d8406cfc32817db3ff989..4fdd7734314bb37680fb6239824baf15e2db8c82 100644 (file)
@@ -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
index 287b446afbbc9f927ef0ae190f854843d24c854d..a6ca7974157e594586381d1f620818e9afbc02d1 100644 (file)
@@ -156,7 +156,7 @@ function hyperlink_back($center=true, $no_menu=true, $type_no=0, $trans_no=0)
        if ($center)
                echo "<center>";
        $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);