Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git] / httemplate / view / cust_msg.html
index d5ec036..67ceef7 100755 (executable)
@@ -22,7 +22,7 @@ function toggle_display(obj) {
 <INPUT type="radio" name="what_to_show" onchange="toggle_display(this)" value="body"> Body
 </FORM>
 </TR>
-<TR><TD colspan=2 style="text-align:center">
+<TR><TD colspan=2 style="text-align:left">
 <TEXTAREA id="content-header" style="font-family:monospace" 
 readonly=1 cols=80 rows=20>
 <% encode_entities($cust_msg->header) %>
@@ -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";