fix project count
authorStricted <Stricted@nexus-irc.de>
Sat, 15 Apr 2017 18:47:42 +0000 (20:47 +0200)
committerStricted <Stricted@nexus-irc.de>
Sat, 15 Apr 2017 18:47:42 +0000 (20:47 +0200)
index.cgi

index 929845443d9e99e567865a74841fc1313a99afc5..7bf1ea7591f10ccfa3e352f022e118866d9c3f8d 100644 (file)
--- a/index.cgi
+++ b/index.cgi
@@ -5762,7 +5762,7 @@ sub git_project_list_rows {
        }
        
        print '<tr><td colspan="'.($check_forks ? '1' : '2').'">&nbsp;</td>';
-       print "<td>".($to + 1)." project".($to > 1 ? ($to < 1 ? "" : "s") : "")." found</td><td colspan=\"3\">&nbsp;</td></tr>";
+       print "<td>".($to + 1)." project".($to+1 >= 1 ? ($to+1 <= 1 ? "" : "s") : "")." found</td><td colspan=\"3\">&nbsp;</td></tr>";
 }
 
 sub git_project_list_body {