]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
typo
authorJoey Hess <joey@kitenet.net>
Mon, 18 Nov 2013 20:35:51 +0000 (16:35 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 18 Nov 2013 20:35:51 +0000 (16:35 -0400)
IkiWiki/Plugin/search.pm

index ad3247f4bf5b0c00b3cfa7b1c137411aedabef7c..24b16fe2a78c4607f89788cd78ea1d7e5a1ac137 100644 (file)
@@ -188,7 +188,7 @@ sub cgi ($) {
 
        if (defined $cgi->param('P')) {
                if ($config{google_search}) {
-                       print $cgi->redirect("https://www.google.com/search?sitesearch=$config{cgiurl}&q=".$cgi->param('P'));
+                       print $cgi->redirect("https://www.google.com/search?sitesearch=$config{url}&q=".$cgi->param('P'));
                        exit 0;
                }
                else {