disable quotations without fully-qualifying all other searches, RT#20688, RT#22232
[freeside.git] / FS / FS / API.pm
index 77dbf87..2463e8b 100644 (file)
@@ -28,7 +28,7 @@ integration with other back-office systems.
 If accessing this API remotely with XML-RPC or JSON-RPC, be careful to block
 the port by default, only allow access from back-office servers with the same
 security precations as the Freeside server, and encrypt the communication
-channel (for exampple, with an SSH tunnel or VPN) rather than accessing it
+channel (for example, with an SSH tunnel or VPN) rather than accessing it
 in plaintext.
 
 =head1 METHODS
@@ -415,10 +415,11 @@ sub new_customer {
   #same for refnum like signup_server-default_refnum
 
   my $cust_main = new FS::cust_main ( {
-      'agentnum'      => $agentnum,
-      'refnum'        => $opt{refnum}
-                         || $conf->config('signup_server-default_refnum'),
-      'payby'         => 'BILL',
+      'agentnum' => $agentnum,
+      'refnum'   => $opt{refnum}
+                    || $conf->config('signup_server-default_refnum'),
+      'payby'    => 'BILL',
+      'tagnum'   => [ FS::part_tag->default_tags ],
 
       map { $_ => $opt{$_} } qw(
         agentnum refnum agent_custid referral_custnum