Learnpath: Make lp_author field optional and save correctly

pull/5945/head
christianbeeznst 11 months ago
parent 46ef0aa51c
commit 413f463193
  1. 4
      public/main/lp/lp_edit.php

@ -112,10 +112,10 @@ if ('true' === api_get_setting('allow_course_theme')) {
// Author
$form->addHtmlEditor(
'html_editor',
'lp_author',
get_lang('Author'),
['size' => 80],
false,
false,
['ToolbarSet' => 'LearningPathAuthor', 'Width' => '100%', 'Height' => '200px']
);
$form->applyFilter('lp_author', 'html_filter');

Loading…
Cancel
Save