Update variable
update based on error log
This commit is contained in:
parent
21f593bf4b
commit
7158aa7ded
|
@ -184,7 +184,7 @@ class L10n
|
||||||
if (is_array($t)) {
|
if (is_array($t)) {
|
||||||
$plural_function = 'string_plural_select_' . str_replace('-', '_', $lang);
|
$plural_function = 'string_plural_select_' . str_replace('-', '_', $lang);
|
||||||
if (function_exists($plural_function)) {
|
if (function_exists($plural_function)) {
|
||||||
$plural_function = 'self::stringPluralSelectDefault';
|
$plural_function = 'stringPluralSelectDefault';
|
||||||
}
|
}
|
||||||
$i = $plural_function($count);
|
$i = $plural_function($count);
|
||||||
$s = $t[$i];
|
$s = $t[$i];
|
||||||
|
|
Loading…
Reference in a new issue