From afb81dcb0fd47759bb5234d7f5989dc8df0aa502 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 5 Sep 2002 17:01:36 +0000 Subject: [PATCH] "same as billing address" box would uncheck itself on errors (only looked at previous ship_last, not CGI checkbox value too) Closes: Bug#448 --- httemplate/edit/cust_main.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index 831b2ab97..3a5df086f 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -231,7 +231,7 @@ END print '
Service address ', '(ship_last ) { + unless ( $cust_main->ship_last && $cgi->param('same') ne 'Y' ) { print ' CHECKED'; foreach ( qw( last first company address1 address2 city county state zip country -- 2.11.0