From ef473df0b328dac114fa4df6b03373a410db6a4b Mon Sep 17 00:00:00 2001
From: Lars Hjemli <hjemli@gmail.com>
Date: Thu, 24 May 2007 00:06:25 +0200
Subject: 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 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) {
-- 
cgit v1.2.3-18-g5258