From: jeff Date: Mon, 15 Jan 2007 22:15:26 +0000 (+0000) Subject: that was DUM X-Git-Tag: TRIXBOX_2_6~759 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=810f6c351cbc38838daca5b795838ade12711999 that was DUM --- diff --git a/httemplate/edit/process/quick-charge.cgi b/httemplate/edit/process/quick-charge.cgi index f614dd5cf..a2eba3abc 100644 --- a/httemplate/edit/process/quick-charge.cgi +++ b/httemplate/edit/process/quick-charge.cgi @@ -6,7 +6,7 @@ % for ( my $row = 0; exists($param->{"description$row"}); $row++ ) { % push @description, $param->{"description$row"}; % } -% pop @description until ($description[$#description]); +% pop @description until (!@description || $description[$#description]); % % $param->{"custnum"} =~ /^(\d+)$/ % or $error .= "Illegal customer number " . $param->{"custnum"} . " ";