]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix syntax error.
authorJakob Sack <mail@jakobsack.de>
Thu, 1 Aug 2013 19:46:52 +0000 (21:46 +0200)
committerJakob Sack <mail@jakobsack.de>
Thu, 1 Aug 2013 19:46:52 +0000 (21:46 +0200)
lib/l10n/string.php

index c72b744a7ec680fdd6919910073d24dcb82bc8bc..c78b06428d3bc1e74c983be197b9b944a6a66a75 100644 (file)
@@ -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{