projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
216136a
)
strip all blank lines, not just trailing ones
author
jeff
<jeff>
Sat, 20 Jan 2007 00:08:39 +0000
(
00:08
+0000)
committer
jeff
<jeff>
Sat, 20 Jan 2007 00:08:39 +0000
(
00:08
+0000)
httemplate/edit/process/quick-charge.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/process/quick-charge.cgi
b/httemplate/edit/process/quick-charge.cgi
index
a2eba3a
..
024a281
100644
(file)
--- a/
httemplate/edit/process/quick-charge.cgi
+++ b/
httemplate/edit/process/quick-charge.cgi
@@
-4,9
+4,9
@@
%
% my @description = ();
% for ( my $row = 0; exists($param->{"description$row"}); $row++ ) {
%
% 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"} . " ";
%
% $param->{"custnum"} =~ /^(\d+)$/
% or $error .= "Illegal customer number " . $param->{"custnum"} . " ";