Skip to content

Commit

Permalink
Learnpath: Make lp_author field optional and save correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbeeznest committed Nov 27, 2024
1 parent 46ef0aa commit 413f463
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/main/lp/lp_edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ function activate_end_date() {

// 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');
Expand Down

0 comments on commit 413f463

Please sign in to comment.