X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcust_payby.html;h=c7d4549df630524aa5022845a0d7b1c1fcda9134;hb=6fd39bf8dfa989aaedea59e5e3cd609642f9e024;hp=5e0f09d3fec3c12cfea89b913e404d69b32700a2;hpb=5d5ed9e94c8c9520f8d36ef23bbe47a135c35639;p=freeside.git diff --git a/httemplate/elements/cust_payby.html b/httemplate/elements/cust_payby.html index 5e0f09d3f..c7d4549df 100644 --- a/httemplate/elements/cust_payby.html +++ b/httemplate/elements/cust_payby.html @@ -216,7 +216,7 @@ % } -% unless ( $opt{'html_only'} ) { +% unless ( $opt{'html_only'} || $payby_changed_init ) { +% $payby_changed_init = 1; % } +<%once> +my $payby_changed_init = 0; + <%init> my( %opt ) = @_;