#!/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
#
# 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
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;
}