summaryrefslogtreecommitdiff
path: root/app/I18N.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/I18N.php')
-rw-r--r--app/I18N.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/I18N.php b/app/I18N.php
index 065bdfe474..95493e136a 100644
--- a/app/I18N.php
+++ b/app/I18N.php
@@ -209,7 +209,7 @@ class I18N
private static Translator $translator;
- private static ?Collator $collator;
+ private static ?Collator $collator = null;
/**
* The preferred locales for this site, or a default list if no preference.
@@ -343,7 +343,6 @@ class I18N
}
} catch (Exception $ex) {
// PHP-INTL is not installed? We'll use a fallback later.
- self::$collator = null;
}
}