Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloud.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-11-10 13:22:24 +0300
committerLukas Reschke <lukas@statuscode.ch>2016-11-10 13:22:24 +0300
commit2021dd6eb9192fbb51a58fd123cd0a998f7eb9b0 (patch)
tree23d3c79ce8afc34146767fc27228db44b41c21c5 /l10n.php
parentf7ae507970268081cfb038f28a8281d66d3063d2 (diff)
Compare array keys
Diffstat (limited to 'l10n.php')
-rw-r--r--l10n.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/l10n.php b/l10n.php
index 15be3b9d..0fa0f7bc 100644
--- a/l10n.php
+++ b/l10n.php
@@ -81,7 +81,7 @@ class L10N {
return $string;
}
- if (array_keys($translationFile) !== array_keys($originalFile)) {
+ if(count(array_diff_key($translationFile, $originalFile)) > 0) {
return $string;
}