1
1
Fork 0

Update variable

update based on error log
This commit is contained in:
Adam Magness 2018-01-22 22:30:45 -05:00
parent 21f593bf4b
commit 7158aa7ded

View file

@ -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];