Fixed: highlighting issue in search results renderer when the search query was comprised entirely of one quoted term
authorDan
Sat, 25 Aug 2007 12:35:48 -0400
changeset 100 e9a685fb456f
parent 99 2332ebd75f61
child 101 bb4e677a4da9
Fixed: highlighting issue in search results renderer when the search query was comprised entirely of one quoted term
plugins/SpecialSearch.php
--- a/plugins/SpecialSearch.php	Sat Aug 25 12:22:46 2007 -0400
+++ b/plugins/SpecialSearch.php	Sat Aug 25 12:35:48 2007 -0400
@@ -83,6 +83,7 @@
       $q .= implode(' ', $req);
     }
   }
+  $q = trim($q);
   $template->header();
   if(!empty($q))
   {