[freeside-commits] freeside/httemplate/edit/process cust_pay.cgi, 1.18, 1.19
Ivan,,,
ivan at wavetail.420.am
Thu Nov 4 10:09:33 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv25414
Modified Files:
cust_pay.cgi
Log Message:
fix fallout from payment ACL changes, RT#10476
Index: cust_pay.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_pay.cgi,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -w -d -r1.18 -r1.19
--- cust_pay.cgi 3 Nov 2010 23:44:47 -0000 1.18
+++ cust_pay.cgi 4 Nov 2010 17:09:31 -0000 1.19
@@ -50,8 +50,8 @@
} );
my @rights = ('Post payment');
-push @rights, 'Post check payment' if $cust_pay->payby eq 'BILL';
-push @rights, 'Post cash payment' if $cust_pay->payby eq 'CASH';
+push @rights, 'Post check payment' if $new->payby eq 'BILL';
+push @rights, 'Post cash payment' if $new->payby eq 'CASH';
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right(\@rights);
More information about the freeside-commits
mailing list