From 397a9127acd05421eed3513737085fc32d4e6c6c Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Thu, 30 Jul 2020 10:25:53 +0200 Subject: [PATCH] fix(issue): adjust ticket status n automatic action Signed-off-by: Thierry Bugier --- inc/issue.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/issue.class.php b/inc/issue.class.php index 49222587a..422e33f1b 100644 --- a/inc/issue.class.php +++ b/inc/issue.class.php @@ -103,7 +103,7 @@ public static function cronSyncIssues(CronTask $task) { CONCAT('t_',`tic`.`id`) AS `display_id`, `tic`.`id` AS `original_id`, 'Ticket' AS `sub_itemtype`, - if(`tv`.`status` IS NULL,`tic`.`status`, if(`tv`.`status` = 2, 101, if(`tv`.`status` = 3, 2, 102))) AS `status`, + if(`tv`.`status` IS NULL,`tic`.`status`, if(`tv`.`status` = 2, 101, if(`tv`.`status` = 3, `tic`.`status`, 102))) AS `status`, `tic`.`date` AS `date_creation`, `tic`.`date_mod` AS `date_mod`, `tic`.`entities_id` AS `entities_id`,