diff options
context:
space:
mode:
Diffstat (limited to 'source/ui-shared.c')
-rw-r--r--source/ui-shared.c2
1 file changed, 1 insertion, 1 deletion
diff --git a/source/ui-shared.c b/source/ui-shared.c
index 2f64c60..477314c 100644
--- a/source/ui-shared.c
+++ b/source/ui-shared.c
@@ -1143,7 +1143,7 @@ void cgit_print_pageheader(void)
hc("diff"), ctx.qry.head,
ctx.qry.oid, ctx.qry.oid2, ctx.qry.vpath);
html("</li>\n");
- if (ctx.repo->max_stats) {
+ if (ctx.repo->enable_stats) {
html("<li>");
cgit_stats_link("stats", "Commit activity", hc("stats"),
ctx.qry.head, ctx.qry.vpath);