mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 20:26:42 +00:00
Hotfix (will be included in v2.4.0 release): Fixed a potential problem when the plural form of a translation (e. g. plural forms for user defined quantity units) is NULL
This commit is contained in:
@@ -123,7 +123,7 @@ class LocalizationService
|
||||
}
|
||||
}
|
||||
|
||||
public function __n($number, string $singularForm, string $pluralForm)
|
||||
public function __n($number, string $singularForm, ?string $pluralForm)
|
||||
{
|
||||
$this->CheckAndAddMissingTranslationToPot($singularForm);
|
||||
|
||||
|
Reference in New Issue
Block a user