From d4c63c1f19f20f3d7ff5b34b479a57cb5c7461b0 Mon Sep 17 00:00:00 2001 From: Stricted Date: Sat, 15 Apr 2017 20:47:42 +0200 Subject: [PATCH] fix project count --- index.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.cgi b/index.cgi index 9298454..7bf1ea7 100644 --- a/index.cgi +++ b/index.cgi @@ -5762,7 +5762,7 @@ sub git_project_list_rows { } print ' '; - print "".($to + 1)." project".($to > 1 ? ($to < 1 ? "" : "s") : "")." found "; + print "".($to + 1)." project".($to+1 >= 1 ? ($to+1 <= 1 ? "" : "s") : "")." found "; } sub git_project_list_body { -- 2.20.1