fix ACL
authorivan <ivan>
Sat, 21 Jan 2012 01:58:25 +0000 (01:58 +0000)
committerivan <ivan>
Sat, 21 Jan 2012 01:58:25 +0000 (01:58 +0000)
httemplate/view/cust_msg.html

index d5ec036..ec58460 100755 (executable)
@@ -38,7 +38,7 @@ readonly=1 cols=80 rows=20>
 <%init>
 
 my $curuser = $FS::CurrentUser::CurrentUser;
-die "access denied" if !$curuser->access_right('View email logs');
+die "access denied" unless $curuser->access_right('View email logs');
 
 my ($custmsgnum) = $cgi->keywords;
 $custmsgnum =~ /^(\d+)$/ or die "illegal custmsgnum";