summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authormark <mark>2009-08-14 17:26:32 +0000
committermark <mark>2009-08-14 17:26:32 +0000
commit84c255838ffdeea5df83556b417bda29d8c71331 (patch)
tree3653ea4633d2d56833ec0fc7b8fec5c2cc37fe17 /httemplate
parent94667348a71b2d7186861871ec6516958e6c4583 (diff)
Fix incorrect access right
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/edit/cust_main_attach.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/cust_main_attach.cgi b/httemplate/edit/cust_main_attach.cgi
index dd460fa5e..43d2e2928 100755
--- a/httemplate/edit/cust_main_attach.cgi
+++ b/httemplate/edit/cust_main_attach.cgi
@@ -53,7 +53,7 @@ my $custnum = $1;
my $action = $attachnum ? 'Edit' : 'Add';
die "access denied"
- unless $curuser->access_right("$action customer note");
+ unless $curuser->access_right("$action attachment");
</%init>