Explorar el Código

fix title lang

Alex Aragón hace 5 años
padre
commit
fd91e2408f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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_id'] = $id;
         $defaults['template_text'] = $template->getContent();
         $defaults['template_text'] = $template->getContent();
         // Forcing get_lang().
         // 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.
         // Adding an extra field: a hidden field with the id of the template we are editing.
         $form->addElement('hidden', 'template_id');
         $form->addElement('hidden', 'template_id');