[freeside-commits] freeside/httemplate/edit/process quick-charge.cgi, 1.9, 1.10

Jeff Finucane,420,, jeff at wavetail.420.am
Fri Jan 19 16:08:41 PST 2007


Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail:/tmp/cvs-serv8376

Modified Files:
	quick-charge.cgi 
Log Message:
strip all blank lines, not just trailing ones

Index: quick-charge.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/quick-charge.cgi,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- quick-charge.cgi	15 Jan 2007 22:15:26 -0000	1.9
+++ quick-charge.cgi	20 Jan 2007 00:08:39 -0000	1.10
@@ -4,9 +4,9 @@
 %
 %  my @description = ();
 %  for ( my $row = 0; exists($param->{"description$row"}); $row++ ) {
-%    push @description, $param->{"description$row"};
+%    push @description, $param->{"description$row"}
+%      if ($param->{"description$row"} =~ /\S/);
 %  }
-%  pop @description until (!@description || $description[$#description]);
 %
 %  $param->{"custnum"} =~ /^(\d+)$/
 %    or $error .= "Illegal customer number " . $param->{"custnum"} . "  ";



More information about the freeside-commits mailing list