Merge branch '16-reopen-ticket-error-500' into 'develop'
Resolve "ReOpen ticket error 500" Closes #16 See merge request ldc-web/projets/support-web!28
This commit is contained in:
commit
36623972ac
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ class TicketController extends Controller
|
|||
]);
|
||||
/** @var \App\Enums\TicketStatus */
|
||||
$oldStatus = $ticket->status;
|
||||
$ticket->status = TicketStatus::inprogress();
|
||||
$ticket->status = TicketStatus::new();
|
||||
$ticket->saveQuietly();
|
||||
event(new TicketStatusChanged($ticket, $oldStatus, null, $message, false, false));
|
||||
event(new NotifySubscriptions($ticket, $message, collect([$ticket->user])));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue