summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--ui-shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c
index acc771b..26a6c71 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -186,7 +186,7 @@ void cgit_print_pageheader(char *title, int show_search)
html("</td>");
html("<td id='search'>");
if (show_search) {
- html("<form method='get' href='");
+ html("<form method='get' action='");
html_attr(cgit_currurl());
html("'>");
if (!cgit_virtual_root) {