Browse Source

fix title lang

Alex Aragón 5 years ago
parent
commit
fd91e2408f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/admin/settings.lib.php

+ 1 - 1
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');