[freeside-commits] freeside/httemplate/edit/process cust_main.cgi,
1.29, 1.30
Ivan,,,
ivan at wavetail.420.am
Fri Dec 29 00:41:23 PST 2006
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail:/tmp/cvs-serv3545
Modified Files:
cust_main.cgi
Log Message:
slight pedanticism
Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_main.cgi,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- cust_main.cgi 15 Dec 2006 05:29:48 -0000 1.29
+++ cust_main.cgi 29 Dec 2006 08:41:21 -0000 1.30
@@ -1,5 +1,3 @@
-%
-%
%my $error = '';
%
%#unmunge stuff
@@ -160,7 +158,7 @@
% && $new->paycvv =~ /^\s*\*+\s*$/ ) {
% $new->paycvv($old->paycvv);
% }
-% if ($new->payby =~ /CARD|DCRD|CHEK|DCHK/ && $new->payinfo =~ /xx/) {
+% if ($new->payby =~ /^(CARD|DCRD|CHEK|DCHK)$/ && $new->payinfo =~ /xx/) {
% $new->payinfo($old->payinfo);
% }
% $error ||= $new->replace($old, \@invoicing_list);
@@ -173,6 +171,3 @@
%} else {
% print $cgi->redirect(popurl(3). "view/cust_main.cgi?". $new->custnum);
%}
-%
-
-
More information about the freeside-commits
mailing list