cgit

commit ef473df0b328dac114fa4df6b03373a410db6a4b

Author: Lars Hjemli <hjemli@gmail.com>

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>

 ui-shared.c | 2 +-


diff --git a/ui-shared.c b/ui-shared.c
index acc771b98a2e511a4b269284fd33e58b3ab47f47..26a6c716e73dc60c83b05f92b62d88d630106227 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -186,7 +186,7 @@ 	}
 	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) {