From ad120c4ccdd48e93e5b8e4963cfb574ef7f4e442 Mon Sep 17 00:00:00 2001 From: j3nsch Date: Wed, 30 Oct 2024 21:58:27 +0100 Subject: [PATCH] #1251 Fix typo --- library/Application/View/Helper/TranslateWithDefault.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Application/View/Helper/TranslateWithDefault.php b/library/Application/View/Helper/TranslateWithDefault.php index ebecf679d..62a55372c 100644 --- a/library/Application/View/Helper/TranslateWithDefault.php +++ b/library/Application/View/Helper/TranslateWithDefault.php @@ -44,7 +44,7 @@ class Application_View_Helper_TranslateWithDefault extends Zend_View_Helper_Abst */ public function translateWithDefault($messageId, $default = '') { - $translator = Application_Translate::getInstance()(); + $translator = Application_Translate::getInstance(); if ($translator->isTranslated($messageId)) { return $translator->translate($messageId);