From 2744f259ac2a749061d2d706a5070eb12b01b39d Mon Sep 17 00:00:00 2001 From: Filip Komar Date: Sun, 16 Mar 2014 22:14:31 +0000 Subject: diff report count bugfix --- langs/diff.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'langs/diff.php') 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 .= '

After translation:

'; foreach ($issues as $type => $name) { - if (isset($diff[$type]) && $diff[$type] > 0) { + if (isset($diff[$type]) && count($diff[$type]) > 0) { $s .= sprintf('

%d %s:

', count($diff[$type]), $name); $s .= '
';
         if ($type == 'untranslated_lines_in_constitution') {
-- 
cgit v1.2.1