[freeside-commits] branch FREESIDE_3_BRANCH updated. 4cd203a4114fc5fd45960019b617a42b534c589e
Ivan
ivan at 420.am
Tue Apr 21 12:03:53 PDT 2015
The branch, FREESIDE_3_BRANCH has been updated
via 4cd203a4114fc5fd45960019b617a42b534c589e (commit)
from b54dbcd5bf26986115279680e12668cf9a0b51b7 (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 4cd203a4114fc5fd45960019b617a42b534c589e
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Apr 21 12:03:52 2015 -0700
fix new_customer_minimal, RT#34084
diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm
index 468624c..7705b90 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);
@@ -941,7 +942,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
@@ -1056,7 +1056,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