Merge pull request #18993 from atm-florianm/FIX_13.0_ticket_message_editing_requires_end_date

FIX 13.0: end date required to edit a ticket message
This commit is contained in:
Laurent Destailleur 2021-10-19 19:05:36 +02:00 committed by GitHub
commit b1e4e2699b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1657,7 +1657,7 @@ class Ticket extends CommonObject
$actioncomm->userassigned = array($user->id);
$actioncomm->userownerid = $user->id;
$actioncomm->datep = $now;
$actioncomm->percentage = 100;
$actioncomm->percentage = -1; // percentage is not relevant for punctual events
$actioncomm->elementtype = 'ticket';
$actioncomm->fk_element = $this->id;