projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#7132: bulk increment package bill dates
[freeside.git]
/
httemplate
/
browse
/
cust_attachment.html
diff --git
a/httemplate/browse/cust_attachment.html
b/httemplate/browse/cust_attachment.html
index
d95f2b1
..
e19259d
100755
(executable)
--- a/
httemplate/browse/cust_attachment.html
+++ b/
httemplate/browse/cust_attachment.html
@@
-62,7
+62,8
@@
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
-die "access denied" if !$curuser->access-right('View attachments');
+die "access denied" if !$curuser->access_right('View attachments')
+ or !$curuser->access_right('Browse attachments');
my $conf = new FS::Conf;
my $conf = new FS::Conf;