From 2f17dcdba81193b48a1c843e58e8b116c6309714 Mon Sep 17 00:00:00 2001
From: Jakob Sack <mail@jakobsack.de>
Date: Thu, 1 Aug 2013 21:46:52 +0200
Subject: [PATCH] Fix syntax error.

---
 lib/l10n/string.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/l10n/string.php b/lib/l10n/string.php
index c72b744a7e..c78b06428d 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{
-- 
GitLab