mirror of
https://github.com/grocy/grocy.git
synced 2026-03-27 23:29:25 +01: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:
parent
55e5fd7bf1
commit
d412b81eae
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user