diff --git a/hook.php b/hook.php index 0e2eba387..cbbb5db4b 100644 --- a/hook.php +++ b/hook.php @@ -229,7 +229,7 @@ function plugin_formcreator_addDefaultWhere($itemtype) { $condition .= " OR `glpi_users_$complexJoinId`.`id` = '$currentUser'"; // Add users_id_recipient - $condition .= " OR `glpi_plugin_formcreator_issues`.`users_id_recipient` = $currentUser "; + $condition .= " OR `glpi_plugin_formcreator_issues`.`users_id_recipient` = '$currentUser' "; return "($condition)"; break;