Skip to content

Commit

Permalink
#1251 Fix getting Application_Translate
Browse files Browse the repository at this point in the history
  • Loading branch information
j3nsch committed Oct 30, 2024
1 parent db81d06 commit e1f311b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Application/View/Helper/TranslateWithDefault.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Application_View_Helper_TranslateWithDefault extends Zend_View_Helper_Abst
*/
public function translateWithDefault($messageId, $default = '')
{
$translator = Configuration::getInstance()->getTranslate();
$translator = Application_Translate::getInstance()();

if ($translator->isTranslated($messageId)) {
return $translator->translate($messageId);
Expand Down

0 comments on commit e1f311b

Please sign in to comment.