From eec80124a0314dd6e78f2d01a322078b028a7e81 Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Mon, 25 Feb 2019 11:14:42 +0100 Subject: [PATCH] fix(issue): rebuild of issues table Signed-off-by: Thierry Bugier --- inc/issue.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/issue.class.php b/inc/issue.class.php index 28409f5e3..0ac5a519d 100644 --- a/inc/issue.class.php +++ b/inc/issue.class.php @@ -77,7 +77,7 @@ public static function cronSyncIssues(CronTask $task) { NULL AS `id`, CONCAT('f_',`fanswer`.`id`) AS `display_id`, `fanswer`.`id` AS `original_id`, - 'PluginFormcreatorFormAnswer' AS `sub_itemtype`, + 'PluginFormcreatorFormAnswer' AS `sub_itemtype`, `f`.`name` AS `name`, `fanswer`.`status` AS `status`, `fanswer`.`request_date` AS `date_creation`, @@ -87,7 +87,7 @@ public static function cronSyncIssues(CronTask $task) { `fanswer`.`requester_id` AS `requester_id`, `fanswer`.`users_id_validator` AS `validator_id`, `fanswer`.`comment` AS `comment` - FROM `glpi_plugin_formcreator_forms_answers` AS `fanswer` + FROM `glpi_plugin_formcreator_formanswers` AS `fanswer` LEFT JOIN `glpi_plugin_formcreator_forms` AS `f` ON`f`.`id` = `fanswer`.`plugin_formcreator_forms_id` LEFT JOIN `glpi_items_tickets` AS `itic`