From: ivan Date: Sun, 11 Oct 2009 01:45:53 +0000 (+0000) Subject: don't try to follow a blank redirect X-Git-Tag: freeside_1_9_1^2~7 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=ed6084d4ccabb81493ffa1ee42c2afd237c05f45;p=freeside.git don't try to follow a blank redirect --- 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'};