diff options
Diffstat (limited to 'langs/lib.php')
-rw-r--r-- | langs/lib.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/langs/lib.php b/langs/lib.php index b984d3223..b00825781 100644 --- a/langs/lib.php +++ b/langs/lib.php @@ -89,6 +89,9 @@ function _po_diff($locale, $resource, $source_l = NULL, $path = NULL, $compared if (is_null($path)) { if (NULL == $source_l) { $source_l = read_translation_file('en', $resource); + if (FALSE == $source_l) { + $source_l = array(array()); + } } $target_l = read_translation_file($locale, $resource); } else { |