diff options
Diffstat (limited to 'htdocs/edit/process/cust_main_county.cgi')
-rwxr-xr-x | htdocs/edit/process/cust_main_county.cgi | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/htdocs/edit/process/cust_main_county.cgi b/htdocs/edit/process/cust_main_county.cgi index 11f55f236..8d274b81f 100755 --- a/htdocs/edit/process/cust_main_county.cgi +++ b/htdocs/edit/process/cust_main_county.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: cust_main_county.cgi,v 1.3 1998-12-17 08:40:21 ivan Exp $ +# $Id: cust_main_county.cgi,v 1.4 1999-01-18 22:47:53 ivan Exp $ # # ivan@sisd.com 97-dec-16 # @@ -10,7 +10,10 @@ # lose background, FS::CGI ivan@sisd.com 98-sep-2 # # $Log: cust_main_county.cgi,v $ -# Revision 1.3 1998-12-17 08:40:21 ivan +# Revision 1.4 1999-01-18 22:47:53 ivan +# s/create/new/g; and use fields('table_name') +# +# Revision 1.3 1998/12/17 08:40:21 ivan # s/CGI::Request/CGI.pm/; etc # # Revision 1.2 1998/11/18 09:01:41 ivan @@ -36,7 +39,7 @@ foreach ( $cgi->param ) { next unless $old->getfield('tax') ne $cgi->param("tax$taxnum"); my(%hash)=$old->hash; $hash{tax}=$cgi->param("tax$taxnum"); - my($new)=create FS::cust_main_county \%hash; + my($new)=new FS::cust_main_county \%hash; my($error)=$new->replace($old); eidiot($error) if $error; } |