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