summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-09-25 14:42:45 -0700
committerIvan Kohler <ivan@freeside.biz>2016-09-25 14:42:45 -0700
commit840dbc8beed6098e3b7ae17dc2553a39f5476553 (patch)
tree02bdbb6e0709bbc676e390f50e7446dec39f34bb /httemplate/elements
parentf4ab9c03202d393907a195b957bbd134ca972985 (diff)
scalar cgi param
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/cust_payby.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/httemplate/elements/cust_payby.html b/httemplate/elements/cust_payby.html
index f30d18557..1d789a47b 100644
--- a/httemplate/elements/cust_payby.html
+++ b/httemplate/elements/cust_payby.html
@@ -180,11 +180,11 @@
<& /elements/select-state.html,
'prefix' => $name. '_pay',
'empty' => emt('(choose)'),
- 'state' => $cgi->param($name.'_paystate')
- || $cust_payby->paystate,
+ 'state' => ( scalar($cgi->param($name.'_paystate'))
+ || $cust_payby->paystate ),
#was cust_main->country in 3.x, but this will do until/unlesss
# someone needs to track foreign bank states
- 'country' => scalar($conf->config('countrydefault')) || 'US',
+ 'country' => ( scalar($conf->config('countrydefault')) || 'US' ),
&>
<BR><FONT SIZE="-1"><% mt('Bank state') |h %></FONT>
</TD>