FIX 13.0: end date required to edit a ticket message
This commit is contained in:
parent
d75138b362
commit
bd7e3e57ca
@ -503,7 +503,7 @@ if (empty($reshook) && $action == 'update')
|
||||
$object->note_private = trim(GETPOST("note", "restricthtml"));
|
||||
$object->fk_element = GETPOST("fk_element", "int");
|
||||
$object->elementtype = GETPOST("elementtype", "alphanohtml");
|
||||
if (!$datef && $percentage == 100)
|
||||
if (!$datef && $percentage == 100 && !preg_match('/^TICKET_MSG/', $object->code))
|
||||
{
|
||||
$error++; $donotclearsession = 1;
|
||||
setEventMessages($langs->transnoentitiesnoconv("ErrorFieldRequired", $langs->transnoentitiesnoconv("DateEnd")), $object->errors, 'errors');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user