3
0

Deleted a filter that prevents users to be re-assigned when was missing one of the following:

realname, firstname or emails
Fixes #43
This commit is contained in:
tomolimo
2018-01-26 09:28:36 +01:00
parent 93d7e5dca1
commit f1bc3bc7d7

View File

@@ -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' ";