summaryrefslogtreecommitdiff
path: root/FS/FS/ClientAPI/Signup.pm
diff options
context:
space:
mode:
authormark <mark>2012-02-19 02:30:17 +0000
committermark <mark>2012-02-19 02:30:17 +0000
commit6fc993993d45b0e151a2c3383ef1031f817715ff (patch)
tree441a3596c5891753c4e89fbc7326d09585738e75 /FS/FS/ClientAPI/Signup.pm
parente010976ba33c00bb2b97d677f610e4b19571feaf (diff)
more per-agent options, #15973
Diffstat (limited to 'FS/FS/ClientAPI/Signup.pm')
-rw-r--r--FS/FS/ClientAPI/Signup.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm
index b026afd..d0d088a 100644
--- a/FS/FS/ClientAPI/Signup.pm
+++ b/FS/FS/ClientAPI/Signup.pm
@@ -186,7 +186,6 @@ sub signup_info {
'company_name' => scalar($conf->config('company_name')),
#per-agent?
'agent_ship_address' => scalar($conf->exists('agent-ship_address')),
- 'require_phone' => scalar($conf->exists('cust_main-require_phone')),
'logo' => scalar($conf->config_binary('logo.png')),
'prepaid_template_custnum' => $conf->exists('signup_server-prepaid-template-custnum'),
};
@@ -405,6 +404,9 @@ sub signup_info {
qw( head body_header body_footer ) ),
( map { $_ => join("\n", $conf->config("signup_server-$_", $agentnum ) ) }
qw( terms_of_service ) ),
+
+ ( map { $_ => scalar($conf->exists($_, $agentnum)) }
+ qw(cust_main-require_phone) ),
};
$cache->set("signup_info_cache_agent$agentnum", $signup_info_cache_agent);