Closed (fixed)
Project:
Administer Users by Role
Version:
7.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2016 at 20:04 UTC
Updated:
11 Nov 2016 at 13:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
andrew.lieffring commentedEnsuring the table aliases are unique by using the module's name is a quick fix.
Comment #3
adamps commentedThanks for the bug report and patch.
I have checked the documentation at https://api.drupal.org/api/drupal/includes!database!select.inc/function/.... It says:
So it looks like the correct fix would be to actually check the return value and use that in the call to isNull. Once that's done, if I understand correctly, we can just use alias ur or stick with user_roles if we prefer (but don't need users_roles_2).
Comment #4
henrijs.seso commentedAny workaround?
Comment #5
adamps commentedModified patch as per #3 now checked in. Please test dev version (allow time for a new one to build).
Comment #8
adamps commentedNow merged into D8 also