From: mark Date: Fri, 14 Aug 2009 17:26:32 +0000 (+0000) Subject: Fix incorrect access right X-Git-Tag: freeside_1_9_1^2~141 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=84c255838ffdeea5df83556b417bda29d8c71331;p=freeside.git Fix incorrect access right --- 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");