]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/search.pm
only_committed_changes could fail in a git repository merged with git merge -s ours.
[git.ikiwiki.info.git] / 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 {