aboutsummaryrefslogtreecommitdiffstats
path: root/ui-stats.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-05-12 21:29:40 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-05-12 21:29:49 +0200
commitc34e28835bc06ea9f76f440909f59a697910e9e8 (patch)
tree346b38d0df26a03f34ac02042e28886bf790fae2 /ui-stats.c
parent9afda36ed72083febca5e1a249b7f9f09205fe16 (diff)
downloadcgit-c34e28835bc06ea9f76f440909f59a697910e9e8.tar.gz
cgit-c34e28835bc06ea9f76f440909f59a697910e9e8.tar.xz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-stats.c b/ui-stats.c
index 8cd9178..7acd358 100644
--- a/ui-stats.c
+++ b/ui-stats.c
@@ -389,7 +389,7 @@ void cgit_show_stats(void)
cgit_print_layout_start();
html("<div class='cgit-panel'>");
html("<b>stat options</b>");
- html("<form method='get' action=''>");
+ html("<form method='get'>");
cgit_add_hidden_formfields(1, 0, "stats");
html("<table><tr><td colspan='2'/></tr>");
if (ctx.repo->max_stats > 1) {