fix title lang

pull/2958/head
Alex Aragón 7 years ago
parent 519ff9045f
commit fd91e2408f
  1. 2
      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');

Loading…
Cancel
Save