forked from Wavyzz/dolibarr
FIX #24918
This commit is contained in:
@@ -497,9 +497,7 @@ if ($id > 0 || !empty($ref)) {
|
||||
// WYSIWYG editor
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
|
||||
$cked_enabled = (!empty($conf->global->FCKEDITOR_ENABLE_SOCIETE) ? $conf->global->FCKEDITOR_ENABLE_SOCIETE : 0);
|
||||
if (!empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) {
|
||||
$nbrows = $conf->global->MAIN_INPUT_DESC_HEIGHT;
|
||||
}
|
||||
$nbrows = getDolGlobalInt('MAIN_INPUT_DESC_HEIGHT', 0);
|
||||
$doleditor = new DolEditor('description', $object->description, '', 80, 'dolibarr_details', '', false, true, $cked_enabled, $nbrows);
|
||||
print $doleditor->Create();
|
||||
print '</td></tr>';
|
||||
|
||||
Reference in New Issue
Block a user