[freeside-commits] freeside/httemplate/view cust_msg.html,1.3,1.4

Ivan,,, ivan at wavetail.420.am
Fri Jan 20 17:58:27 PST 2012


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv31825

Modified Files:
	cust_msg.html 
Log Message:
fix ACL

Index: cust_msg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_msg.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- cust_msg.html	9 Dec 2011 01:02:02 -0000	1.3
+++ cust_msg.html	21 Jan 2012 01:58:25 -0000	1.4
@@ -38,7 +38,7 @@
 <%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";



More information about the freeside-commits mailing list