From 752e30460b48fcbc9b093e52a52bd6077aeeec5e Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 19 Aug 2013 11:56:45 +0800 Subject: [PATCH] InterfaceTranslations.php --- InterfaceTranslations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InterfaceTranslations.php b/InterfaceTranslations.php index 18ef7cb..8ae3771 100644 --- a/InterfaceTranslations.php +++ b/InterfaceTranslations.php @@ -53,7 +53,7 @@ class Pman_Admin_InterfaceTranslations extends Pman_Admin_Translations $data = $this->loadTranslateDB($lang,$module); $j = new Services_JSON(); - echo "_T.{$lang}= Roo.apply( _T.{$lang} || { }, " . $j->stringify($data, null, 4) . ");\n"; + echo "_T = _T || {} ; _T.{$lang}= Roo.apply( _T.{$lang} || { }, " . $j->stringify($data, null, 4) . ");\n"; } exit; -- 2.39.2