BR before "None found" search message
[freeside.git] / httemplate / search / elements / search-html.html
index d6cc626..8e6546c 100644 (file)
@@ -78,7 +78,7 @@
 
 %     unless ( $total ) { 
 %       unless ( $opt{'disable_nonefound'} ) { 
-          No matching <% $opt{'name'} %> found.<BR>
+          <BR><BR>No matching <% $opt{'name'} %> found.<BR>
 %       } 
 %     }
 %
                 <TR>
 %                 my $h2 = 0;
 %                 my $colspan = 0;
-%                 my @fields = @{ $opt{'sort_fields'} || $opt{'fields'}};
+%                 my @fields = @{ $opt{'sort_fields'} || $opt{'fields'} || [] };
 %                 my $order_by = $cgi->param('order_by');
 %                 foreach my $header ( @{ $opt{header} } ) { 
 %