diff options
author | ivan <ivan> | 2009-10-11 01:45:53 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-10-11 01:45:53 +0000 |
commit | ed6084d4ccabb81493ffa1ee42c2afd237c05f45 (patch) | |
tree | 663d05212a0727090928de0a2f4ac7ab0ecbfdcf | |
parent | 3501246417cacd5614a32ac1fe487a230ebb632d (diff) |
don't try to follow a blank redirect
-rw-r--r-- | httemplate/search/elements/search-html.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/elements/search-html.html b/httemplate/search/elements/search-html.html index 60dd65a5c..297774dfd 100644 --- 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'}; |