From 413f46319359334b2d704cce623b24ad638a0f3b Mon Sep 17 00:00:00 2001 From: christianbeeznst Date: Wed, 27 Nov 2024 16:49:46 -0500 Subject: [PATCH] Learnpath: Make lp_author field optional and save correctly --- public/main/lp/lp_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/main/lp/lp_edit.php b/public/main/lp/lp_edit.php index 1214199f583..4c60bb49bc3 100644 --- a/public/main/lp/lp_edit.php +++ b/public/main/lp/lp_edit.php @@ -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');