Skip to content

Commit

Permalink
fix check condition when putting ticket to waiting status while ticke…
Browse files Browse the repository at this point in the history
…t or task
  • Loading branch information
ArthurMinfotel committed Sep 20, 2024
1 parent 03f8bd5 commit 9234146
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions inc/ticketfollowup.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ static function beforeAdd($ticketfollowup)
$config = new PluginMoreticketConfig();

if (isset($ticketfollowup->input['pending'])
&& $ticketfollowup->input['pending']
&& $config->useWaiting() == true) {

$waiting_ticket = new PluginMoreticketWaitingTicket();
Expand Down
1 change: 1 addition & 0 deletions inc/tickettask.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ static function beforeAdd(TicketTask $tickettask) {
$config = new PluginMoreticketConfig();

if (isset($tickettask->input['pending'])
&& $tickettask->input['pending']
&& $config->useWaiting() == true) {

$waiting_ticket = new PluginMoreticketWaitingTicket();
Expand Down

0 comments on commit 9234146

Please sign in to comment.