[freeside-commits] branch FREESIDE_4_BRANCH updated. 892ed7918e4f79631bf964dbf72ec65f10895341

Ivan ivan at 420.am
Fri Oct 21 12:34:54 PDT 2016


The branch, FREESIDE_4_BRANCH has been updated
       via  892ed7918e4f79631bf964dbf72ec65f10895341 (commit)
      from  b5695128553a9a82eb36e7c75062cc0347057558 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 892ed7918e4f79631bf964dbf72ec65f10895341
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Oct 21 12:34:53 2016 -0700

    fix unapplied payment report, RT#73048, fallout from #25944

diff --git a/httemplate/search/elements/grouped-search/html b/httemplate/search/elements/grouped-search/html
index 293da33..9c2418a 100644
--- a/httemplate/search/elements/grouped-search/html
+++ b/httemplate/search/elements/grouped-search/html
@@ -11,8 +11,8 @@ my $redirect;
 
 if ( $group_info->{num} == 0 ) {
   $redirect = $opt{'redirect_empty'};
+  $redirect = &$redirect($cgi) if $redirect && ref($redirect) eq 'CODE';
   if ($redirect) {
-    $redirect = &$redirect($cgi) if ref($redirect) eq 'CODE';
     redirect( $redirect );
   } else { # just print this stuff and exit
     $m->comp('/elements/header.html', $opt{'title'});
diff --git a/httemplate/search/elements/report_cust_pay_or_refund.html b/httemplate/search/elements/report_cust_pay_or_refund.html
index 806746a..1cc77f7 100644
--- a/httemplate/search/elements/report_cust_pay_or_refund.html
+++ b/httemplate/search/elements/report_cust_pay_or_refund.html
@@ -30,7 +30,7 @@ Examples:
   <& /elements/tr-select.html,
     label     => ucfirst(PL($name_singular)) . ' of type:',
     field     => 'payby',
-    options   => [ keys(\%payby) ],
+    options   => [ keys %payby ],
     labels    => \%payby,
     multiple  => 1,
     size      => 18,

-----------------------------------------------------------------------

Summary of changes:
 httemplate/search/elements/grouped-search/html            |    2 +-
 httemplate/search/elements/report_cust_pay_or_refund.html |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list