summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>