projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scalar cgi param
[freeside.git]
/
httemplate
/
elements
/
cust_payby.html
diff --git
a/httemplate/elements/cust_payby.html
b/httemplate/elements/cust_payby.html
index
f30d185
..
1d789a4
100644
(file)
--- 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)'),
<& /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
#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>
&>
<BR><FONT SIZE="-1"><% mt('Bank state') |h %></FONT>
</TD>