From d253e1e5b0abcd5fd81ee23545c618fc5e8e17d4 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 11 Nov 2014 19:45:56 +0100 Subject: [PATCH] Util\Translator: available locales should be sorted --- library/Icinga/Util/Translator.php | 1 + 1 file changed, 1 insertion(+) diff --git a/library/Icinga/Util/Translator.php b/library/Icinga/Util/Translator.php index 755203474..52a84bd62 100644 --- a/library/Icinga/Util/Translator.php +++ b/library/Icinga/Util/Translator.php @@ -224,6 +224,7 @@ class Translator } } } + sort($codes); return $codes; }