projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't try to follow a blank redirect
[freeside.git]
/
httemplate
/
search
/
elements
/
search-html.html
diff --git
a/httemplate/search/elements/search-html.html
b/httemplate/search/elements/search-html.html
index
60dd65a
..
297774d
100644
(file)
--- a/
httemplate/search/elements/search-html.html
+++ b/
httemplate/search/elements/search-html.html
@@
-1,5
+1,6
@@
%
-% if ( exists($opt{'redirect'}) && scalar(@$rows) == 1 && $total == 1
+% if ( exists($opt{'redirect'}) && $opt{'redirect'}
+% && scalar(@$rows) == 1 && $total == 1
% && $type ne 'html-print'
% ) {
% my $redirect = $opt{'redirect'};