author | Lars Hjemli <hjemli@gmail.com> | 2007-05-23 22:06:25 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-05-23 22:06:25 (UTC) |
commit | ef473df0b328dac114fa4df6b03373a410db6a4b (patch) (unidiff) | |
tree | 38cc88e344e2baefcb20554fc43b0abd24c18047 /ui-shared.c | |
parent | 62dcc05c27fa2f230a7048211337f86ba20966a5 (diff) | |
download | cgit-ef473df0b328dac114fa4df6b03373a410db6a4b.zip cgit-ef473df0b328dac114fa4df6b03373a410db6a4b.tar.gz cgit-ef473df0b328dac114fa4df6b03373a410db6a4b.tar.bz2 |
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>
-rw-r--r-- | ui-shared.c | 2 |
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 | |||
@@ -185,9 +185,9 @@ void cgit_print_pageheader(char *title, int show_search) | |||
185 | } | 185 | } |
186 | html("</td>"); | 186 | html("</td>"); |
187 | html("<td id='search'>"); | 187 | html("<td id='search'>"); |
188 | if (show_search) { | 188 | if (show_search) { |
189 | html("<form method='get' href='"); | 189 | html("<form method='get' action='"); |
190 | html_attr(cgit_currurl()); | 190 | html_attr(cgit_currurl()); |
191 | html("'>"); | 191 | html("'>"); |
192 | if (!cgit_virtual_root) { | 192 | if (!cgit_virtual_root) { |
193 | if (cgit_query_repo) | 193 | if (cgit_query_repo) |