X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcust_payby.html;h=c7d4549df630524aa5022845a0d7b1c1fcda9134;hb=8eb6542c022ac84b125416f3fb0828b278ba600a;hp=5e0f09d3fec3c12cfea89b913e404d69b32700a2;hpb=74cf17d7e822d75cbf51098c7e337ba4174b18aa;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 ) = @_;