projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6058287
)
fix API new_customer call, RT#82062, RT#28181
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 30 Jan 2019 16:35:02 +0000
(08:35 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 30 Jan 2019 16:35:02 +0000
(08:35 -0800)
FS/FS/API.pm
patch
|
blob
|
history
diff --git
a/FS/FS/API.pm
b/FS/FS/API.pm
index
8eaecf6
..
5840fc1
100644
(file)
--- 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