summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2012-01-21 01:58:25 +0000
committerivan <ivan>2012-01-21 01:58:25 +0000
commita7de168188ff30192238c20a194c144e2bfd1716 (patch)
tree5e9793c04506304cfd9717744946aa0a35d4cd8c
parentbc757d02c55fe501bb8f5d0036b0cc856be678d7 (diff)
fix ACL
-rwxr-xr-xhttemplate/view/cust_msg.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/view/cust_msg.html b/httemplate/view/cust_msg.html
index d5ec036dc..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 email logs');
+die "access denied" unless $curuser->access_right('View email logs');
my ($custmsgnum) = $cgi->keywords;
$custmsgnum =~ /^(\d+)$/ or die "illegal custmsgnum";