[freeside-commits] freeside/httemplate/view cust_msg.html, 1.2.2.1, 1.2.2.2
Ivan,,,
ivan at wavetail.420.am
Fri Jan 20 17:58:53 PST 2012
Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv32336
Modified Files:
Tag: FREESIDE_2_3_BRANCH
cust_msg.html
Log Message:
fix 2.3-specific syntax error viewing sent messages, RT#16174
Index: cust_msg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_msg.html,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -w -d -r1.2.2.1 -r1.2.2.2
--- cust_msg.html 9 Dec 2011 01:02:10 -0000 1.2.2.1
+++ cust_msg.html 21 Jan 2012 01:58:51 -0000 1.2.2.2
@@ -38,8 +38,8 @@
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
-die "access denied" if !$curuser->access_right('View email logs'))
- && !$curuser->access_right('Configuration');
+die "access denied" unless $curuser->access_right('View email logs')
+ || $curuser->access_right('Configuration');
my ($custmsgnum) = $cgi->keywords;
$custmsgnum =~ /^(\d+)$/ or die "illegal custmsgnum";
More information about the freeside-commits
mailing list