[freeside-commits] branch master updated. 697ca3ce9ca4a6a357d6d2b1cfc31525edf252dc
Ivan
ivan at 420.am
Tue Apr 21 12:03:51 PDT 2015
The branch, master has been updated
via 697ca3ce9ca4a6a357d6d2b1cfc31525edf252dc (commit)
from 354dc0b3bd778b9e430532300aa9704941b3926b (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 697ca3ce9ca4a6a357d6d2b1cfc31525edf252dc
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Apr 21 12:03:49 2015 -0700
fix new_customer_minimal, RT#34084
diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm
index c163328..abfcac8 100644
--- a/FS/FS/ClientAPI/Signup.pm
+++ b/FS/FS/ClientAPI/Signup.pm
@@ -2,6 +2,7 @@ package FS::ClientAPI::Signup;
use strict;
use vars qw( $DEBUG $me );
+use subs qw( _myaccount_cache );
use Data::Dumper;
use Tie::RefHash;
use Digest::SHA qw(sha512_hex);
@@ -931,7 +932,6 @@ sub new_customer_minimal {
'refnum' => $packet->{refnum}
|| $conf->config('signup_server-default_refnum'),
'tagnum' => [ FS::part_tag->default_tags ],
- 'payby' => 'BILL',
map { $_ => $packet->{$_} } qw(
salesnum
@@ -1046,7 +1046,7 @@ sub new_customer_minimal {
$session_id = sha512_hex(time(). {}. rand(). $$)
} until ( ! defined _myaccount_cache->get($session_id) ); #just in case
- _cache->set( $session_id, $session, '1 hour' ); # 1 hour?
+ _myaccount_cache->set( $session_id, $session, '1 hour' ); # 1 hour?
my %return = ( 'error' => '',
'signup_service' => $svc_x,
-----------------------------------------------------------------------
Summary of changes:
FS/FS/ClientAPI/Signup.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list