aboutsummaryrefslogtreecommitdiffstats
path: root/langs/diff.php
diff options
context:
space:
mode:
Diffstat (limited to 'langs/diff.php')
-rw-r--r--langs/diff.php2
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') {