"</td>\n" .
"</tr>\n";
}
- print "<tr>";
- if ($check_forks) {
- print "<td colspan=\"2\"> </td>";
- } else {
- print "<td colspan=\"1\"> </td>";
- }
- print "<td>".($to + 1)." project".($to = 1 ? "s" : "")." found</td><td colspan=\"3\"> </td></tr>";
+ print '<tr><td colspan="'.($check_forks ? '1' : '2').'"> </td>';
+ print "<td>".($to + 1)." project".($to > 1 ? ($to < 1 ? "" : "s") : "")." found</td><td colspan=\"3\"> </td></tr>";
}
sub git_project_list_body {