summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJakob Sack <mail@jakobsack.de>2013-08-01 21:46:52 +0200
committerJakob Sack <mail@jakobsack.de>2013-08-01 21:46:52 +0200
commit2f17dcdba81193b48a1c843e58e8b116c6309714 (patch)
tree76192658d522c35e656f241693f7a2c1e6bbf722 /lib
parenteee2c369d9b743634a062ad0c0b9f85496cecc87 (diff)
downloadnextcloud-server-2f17dcdba81193b48a1c843e58e8b116c6309714.tar.gz
nextcloud-server-2f17dcdba81193b48a1c843e58e8b116c6309714.zip
Fix syntax error.
Diffstat (limited to 'lib')
-rw-r--r--lib/l10n/string.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/l10n/string.php b/lib/l10n/string.php
index c72b744a7ec..c78b06428d3 100644
--- a/lib/l10n/string.php
+++ b/lib/l10n/string.php
@@ -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{