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=c7d4549df630524aa5022845a0d7b1c1fcda9134;hp=5e0f09d3fec3c12cfea89b913e404d69b32700a2;hb=927c5d63b382dedd6059a149961540af1ca17e30;hpb=2c94fadec581ea4decc7eb425ce78f6013703860 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 ) = @_;