X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_msg.html;h=ec584605dd79f42ba3ffdc82f6f9532e402046cf;hb=bb6b1e9ed5209a5e28e55c6a7b3a1034575d49b9;hp=a5846109ac065fafcdb0734f8d61ee66788eafe0;hpb=bb119c4cc86e906f698a205437790bd8f96bb3d0;p=freeside.git diff --git a/httemplate/view/cust_msg.html b/httemplate/view/cust_msg.html index a5846109a..ec584605d 100755 --- a/httemplate/view/cust_msg.html +++ b/httemplate/view/cust_msg.html @@ -38,7 +38,7 @@ readonly=1 cols=80 rows=20> <%init> my $curuser = $FS::CurrentUser::CurrentUser; -die "access denied" if !$curuser->access_right('View customers of all agents'); +die "access denied" unless $curuser->access_right('View email logs'); my ($custmsgnum) = $cgi->keywords; $custmsgnum =~ /^(\d+)$/ or die "illegal custmsgnum";