projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix unapplied payment report, RT#73048, fallout from #25944
[freeside.git]
/
httemplate
/
search
/
elements
/
grouped-search
/
html
diff --git
a/httemplate/search/elements/grouped-search/html
b/httemplate/search/elements/grouped-search/html
index
293da33
..
9c2418a
100644
(file)
--- 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'};
if ( $group_info->{num} == 0 ) {
$redirect = $opt{'redirect_empty'};
+ $redirect = &$redirect($cgi) if $redirect && ref($redirect) eq 'CODE';
if ($redirect) {
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'});
redirect( $redirect );
} else { # just print this stuff and exit
$m->comp('/elements/header.html', $opt{'title'});