From: Stricted Date: Sat, 15 Apr 2017 18:47:42 +0000 (+0200) Subject: fix project count X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d4c63c1f19f20f3d7ff5b34b479a57cb5c7461b0;p=gitweb.git fix project count --- 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 {