diff options
author | Filip Komar <filip@mageia.org> | 2014-03-16 22:14:31 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2014-03-16 22:14:31 +0000 |
commit | 2744f259ac2a749061d2d706a5070eb12b01b39d (patch) | |
tree | 5536755c483ff965105d41541afd8bfb17ba8d33 /langs | |
parent | a541e79f45c05b8cb6391692f7ade71564039f2c (diff) | |
download | www-2744f259ac2a749061d2d706a5070eb12b01b39d.tar www-2744f259ac2a749061d2d706a5070eb12b01b39d.tar.gz www-2744f259ac2a749061d2d706a5070eb12b01b39d.tar.bz2 www-2744f259ac2a749061d2d706a5070eb12b01b39d.tar.xz www-2744f259ac2a749061d2d706a5070eb12b01b39d.zip |
diff report count bugfix
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') { |