[freeside-commits] branch FREESIDE_4_BRANCH updated. 6161998382176b5a6a6a4fb0ab29f473ccc5b633

Ivan Kohler ivan at freeside.biz
Wed Jan 30 08:35:03 PST 2019


The branch, FREESIDE_4_BRANCH has been updated
       via  6161998382176b5a6a6a4fb0ab29f473ccc5b633 (commit)
      from  605828762e3553da730e101d65fe7ae143ddc7fb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6161998382176b5a6a6a4fb0ab29f473ccc5b633
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Jan 30 08:35:02 2019 -0800

    fix API new_customer call, RT#82062, RT#28181

diff --git a/FS/FS/API.pm b/FS/FS/API.pm
index 8eaecf6c0..5840fc1db 100644
--- a/FS/FS/API.pm
+++ b/FS/FS/API.pm
@@ -449,7 +449,7 @@ sub new_customer {
   #same for refnum like signup_server-default_refnum
   $opt{refnum} ||= FS::Conf->new->config('signup_server-default_refnum');
 
-  $class->API_insert( %opt );
+  FS::cust_main->API_insert( %opt );
 }
 
 =item update_customer

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/API.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list