X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fcust_payby.html;fp=httemplate%2Felements%2Fcust_payby.html;h=1d789a47bf32eb8423257ad9bd674359648bda5e;hp=f30d185571e04cc980d2f9ef2cd9da7325af6897;hb=26484e261d7a6bd833d041b417b60e63db19edf7;hpb=db9355be0f00722df45b3cecf9b55c43ede4ae3f 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' ), &>
<% mt('Bank state') |h %>