From bf6ef40361d05b0c1604b58c8f249486962d1838 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 27 Feb 2005 11:05:35 +0000 Subject: [PATCH] fix last bill date stickiness on errors --- httemplate/edit/REAL_cust_pkg.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/httemplate/edit/REAL_cust_pkg.cgi b/httemplate/edit/REAL_cust_pkg.cgi index 9cbab2a16..2f6be7cad 100755 --- a/httemplate/edit/REAL_cust_pkg.cgi +++ b/httemplate/edit/REAL_cust_pkg.cgi @@ -1,6 +1,6 @@ <% -# +# my $error =''; my $pkgnum = ''; @@ -29,6 +29,7 @@ if ( $error ) { #$cust_pkg->$_(str2time($cgi->param($_)) foreach qw(setup bill); $cust_pkg->setup(str2time($cgi->param('setup'))); $cust_pkg->bill(str2time($cgi->param('bill'))); + $cust_pkg->last_bill(str2time($cgi->param('last_bill'))); } #my $custnum = $cust_pkg->getfield('custnum'); -- 2.11.0