From fd91e2408f8b816547669fcfeb076304c054bcff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Arag=C3=B3n?= Date: Mon, 15 Jul 2019 16:39:27 -0500 Subject: [PATCH] fix title lang --- main/admin/settings.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/admin/settings.lib.php b/main/admin/settings.lib.php index 5c915fb6dc..f032c4dcc1 100755 --- a/main/admin/settings.lib.php +++ b/main/admin/settings.lib.php @@ -1142,7 +1142,7 @@ function addEditTemplate() $defaults['template_id'] = $id; $defaults['template_text'] = $template->getContent(); // Forcing get_lang(). - $defaults['title'] = get_lang($template->getTitle()); + $defaults['title'] = $template->getTitle(); // Adding an extra field: a hidden field with the id of the template we are editing. $form->addElement('hidden', 'template_id');