diff options
author | Jason A. Donenfeld | 2016-05-12 21:29:40 +0200 |
---|---|---|
committer | Jason A. Donenfeld | 2016-05-12 21:29:49 +0200 |
commit | c34e28835bc06ea9f76f440909f59a697910e9e8 (patch) | |
tree | 346b38d0df26a03f34ac02042e28886bf790fae2 /ui-stats.c | |
parent | 9afda36ed72083febca5e1a249b7f9f09205fe16 (diff) | |
download | cgit-c34e28835bc06ea9f76f440909f59a697910e9e8.tar.gz cgit-c34e28835bc06ea9f76f440909f59a697910e9e8.tar.bz2 cgit-c34e28835bc06ea9f76f440909f59a697910e9e8.zip |
forms: action should not be empty
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui-stats.c')
-rw-r--r-- | ui-stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -389,7 +389,7 @@ void cgit_show_stats(void) | |||
389 | cgit_print_layout_start(); | 389 | cgit_print_layout_start(); |
390 | html("<div class='cgit-panel'>"); | 390 | html("<div class='cgit-panel'>"); |
391 | html("<b>stat options</b>"); | 391 | html("<b>stat options</b>"); |
392 | html("<form method='get' action=''>"); | 392 | html("<form method='get'>"); |
393 | cgit_add_hidden_formfields(1, 0, "stats"); | 393 | cgit_add_hidden_formfields(1, 0, "stats"); |
394 | html("<table><tr><td colspan='2'/></tr>"); | 394 | html("<table><tr><td colspan='2'/></tr>"); |
395 | if (ctx.repo->max_stats > 1) { | 395 | if (ctx.repo->max_stats > 1) { |