From 0457eba2b6dd9facbbd97e5d68c127244a19f5c1 Mon Sep 17 00:00:00 2001 From: filip Date: Sun, 18 Sep 2016 12:11:51 +0200 Subject: bug fix: no more double empty lines in comparison table --- langs/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langs/lib.php b/langs/lib.php index 522e80a14..b984d3223 100644 --- a/langs/lib.php +++ b/langs/lib.php @@ -131,7 +131,7 @@ function _po_diff($locale, $resource, $source_l = NULL, $path = NULL, $compared if (!isset($target_l[$msgid])) { // adding fuzzy or missing string $fuzzy_or_missing[] = $msgid; - $msgstr_target_l = NULL; + $msgstr_target_l[0] = ''; } else { $msgstr_target_l = $target_l[$msgid][$context_or_num]; // are there any plurals untranslated? -- cgit v1.2.1