We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2eabddf commit 1fa10c8Copy full SHA for 1fa10c8
inc/issue.class.php
@@ -117,11 +117,10 @@ public static function cronSyncIssues(CronTask $task) {
117
ON `itic`.`tickets_id` = `tic`.`id`
118
AND `itic`.`itemtype` = 'PluginFormcreatorFormAnswer'
119
LEFT JOIN (
120
- SELECT `users_id`, `tickets_id`
+ SELECT DISTINCT `users_id`, `tickets_id`
121
FROM `glpi_tickets_users` AS `tu`
122
WHERE `tu`.`type` = '" . CommonITILActor::REQUESTER . "'
123
ORDER BY `id` ASC
124
- LIMIT 1
125
) AS `tu` ON (`tic`.`id` = `tu`.`tickets_id`)
126
LEFT JOIN `glpi_ticketvalidations` as `tv`
127
ON (`tic`.`id` = `tv`.`tickets_id`)
0 commit comments