From f1bc3bc7d75c10fa7d40cae69c4ec0616e95c583 Mon Sep 17 00:00:00 2001 From: tomolimo Date: Fri, 26 Jan 2018 09:28:36 +0100 Subject: [PATCH] Deleted a filter that prevents users to be re-assigned when was missing one of the following: realname, firstname or emails Fixes #43 --- inc/user.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/user.class.php b/inc/user.class.php index 92a97e9..999d558 100644 --- a/inc/user.class.php +++ b/inc/user.class.php @@ -50,7 +50,7 @@ class PluginProcessmakerUser extends CommonDBTM { break; } - $where .= " AND `glpi_users`.`realname` <> '' AND `glpi_users`.`firstname` <> '' AND `glpi_useremails`.`email` <> '' AND glpi_plugin_processmaker_users.pm_users_id IN ('".join("', '", $pmUsers)."') "; + $where .= " AND glpi_plugin_processmaker_users.pm_users_id IN ('".join("', '", $pmUsers)."') "; $where .= " AND `glpi_users`.`is_deleted` = '0' AND `glpi_users`.`is_active` = '1' ";