Debug v17
This commit is contained in:
parent
dc0d9e1b94
commit
3b0d44c435
@ -206,9 +206,9 @@ class ActionsTicket
|
|||||||
|
|
||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td colspan="2">';
|
print '<td colspan="2">';
|
||||||
if (!empty($user->rights->ticket->manage) && $action == 'edit_message_init') {
|
if ($user->hasRight('ticket', 'manage') && $action == 'edit_message_init') {
|
||||||
// MESSAGE
|
// MESSAGE
|
||||||
$msg = GETPOST('message_initial', 'alpha') ? GETPOST('message_initial', 'alpha') : $object->message;
|
$msg = GETPOSTISSET('message_initial') ? GETPOST('message_initial', 'restricthtml') : $object->message;
|
||||||
include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
|
include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
|
||||||
$uselocalbrowser = true;
|
$uselocalbrowser = true;
|
||||||
$ckeditorenabledforticket = $conf->global->FCKEDITOR_ENABLE_TICKET;
|
$ckeditorenabledforticket = $conf->global->FCKEDITOR_ENABLE_TICKET;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user