Aha, that ``+'' is superflous
authorJoey Schulze <joey@infodrom.org>
Tue, 30 Sep 2003 16:00:32 +0000 (16:00 +0000)
committerJoey Schulze <joey@infodrom.org>
Tue, 30 Sep 2003 16:00:32 +0000 (16:00 +0000)
src/search.php3

index de45f28..4642565 100644 (file)
@@ -1,6 +1,6 @@
 <?
   if ($keyword && $site) {
 <?
   if ($keyword && $site) {
-    $url = "http://" . $site . "/search?as_q=+" . ereg_replace (" ", "+", $keyword)
+    $url = "http://" . $site . "/search?as_q=" . ereg_replace (" ", "+", $keyword)
           . "&as_sitesearch=infodrom.org";
 
     header ("Location: $url");
           . "&as_sitesearch=infodrom.org";
 
     header ("Location: $url");