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>
This commit is contained in:
Lars Hjemli 2007-05-24 00:06:25 +02:00
bovenliggende 62dcc05c27
commit ef473df0b3

Bestand weergeven

@ -186,7 +186,7 @@ void cgit_print_pageheader(char *title, int show_search)
html("</td>"); html("</td>");
html("<td id='search'>"); html("<td id='search'>");
if (show_search) { if (show_search) {
html("<form method='get' href='"); html("<form method='get' action='");
html_attr(cgit_currurl()); html_attr(cgit_currurl());
html("'>"); html("'>");
if (!cgit_virtual_root) { if (!cgit_virtual_root) {