aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-05-24 00:06:25 +0200
committerLars Hjemli <hjemli@gmail.com>2007-05-24 00:06:25 +0200
commitef473df0b328dac114fa4df6b03373a410db6a4b (patch)
tree38cc88e344e2baefcb20554fc43b0abd24c18047 /ui-shared.c
parent62dcc05c27fa2f230a7048211337f86ba20966a5 (diff)
downloadcgit-ef473df0b328dac114fa4df6b03373a410db6a4b.tar.gz
cgit-ef473df0b328dac114fa4df6b03373a410db6a4b.tar.xz
Bad html: <form> should have an action-attribute
Don't know how the href-attribute got in there... Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-shared.c')
-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) {