Skip to content
Snippets Groups Projects
Commit ee8a9f70 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #5791 hide disabled users in model listdiff

parent 667ef5b6
No related branches found
No related tags found
No related merge requests found
...@@ -109,6 +109,7 @@ abstract class diffusion_list_Abstract extends functions ...@@ -109,6 +109,7 @@ abstract class diffusion_list_Abstract extends functions
. "and l.item_type = 'user_id' " . "and l.item_type = 'user_id' "
. "and l.object_type = ? " . "and l.object_type = ? "
. "and l.object_id = ? " . "and l.object_id = ? "
. "and u.enabled = 'Y' "
. "ORDER BY l.sequence",array($item_mode,$objectType,$objectId)); . "ORDER BY l.sequence",array($item_mode,$objectType,$objectId));
while ($user = $stmt->fetchObject()) { while ($user = $stmt->fetchObject()) {
if(!isset($listmodel[$role_id])) if(!isset($listmodel[$role_id]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment