summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-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
@@ -183,13 +183,13 @@ void cgit_print_pageheader(char *title, int show_search)
html_txt(cgit_repo->name);
htmlf("</a> : %s", title);
}
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) {
if (cgit_query_repo)
html_hidden("r", cgit_query_repo);
if (cgit_query_page)