diff options
Diffstat (limited to 'langs')
-rw-r--r-- | langs/diff.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/langs/diff.php b/langs/diff.php index 686b90ea7..cbbbc9486 100644 --- a/langs/diff.php +++ b/langs/diff.php @@ -116,7 +116,7 @@ $s .= '<p>After translation:</p> </ul>'; foreach ($issues as $type => $name) { - if (isset($diff[$type]) && $diff[$type] > 0) { + if (isset($diff[$type]) && count($diff[$type]) > 0) { $s .= sprintf('<h2>%d %s:</h2>', count($diff[$type]), $name); $s .= '<pre>'; if ($type == 'untranslated_lines_in_constitution') { |