diff options
Diffstat (limited to 'cli/i18n/I18nData.php')
| -rw-r--r-- | cli/i18n/I18nData.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/i18n/I18nData.php b/cli/i18n/I18nData.php index 6e87e1d7e..f6bc7fb5d 100644 --- a/cli/i18n/I18nData.php +++ b/cli/i18n/I18nData.php @@ -330,7 +330,7 @@ class I18nData { } private function getFilenamePrefix(string $key): string { - return preg_replace('/\..*/', '.php', $key); + return preg_replace('/\..*/', '.php', $key) ?? ''; } } |
