Skip to content
Snippets Groups Projects
Commit 2f17dcdb authored by Jakob Sack's avatar Jakob Sack
Browse files

Fix syntax error.

parent eee2c369
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,8 @@ class OC_L10N_String{
$text = $this->text;
if(array_key_exists($this->text, $translations)) {
if(is_array($translations[$this->text])) {
$id = $l10n->getPluralFormFunction()($count);
$fn = $l10n->getPluralFormFunction();
$id = $fn($count);
$text = $translations[$this->text][$id];
}
else{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment