This is giving me SQL warnings because of my table prefix:

db_query("SELECT name FROM role WHERE rid = %d", $roleid)

should be

db_query("SELECT name FROM {role} WHERE rid = %d", $roleid)

Comments

budda’s picture

Assigned: Unassigned » budda
Status: Active » Fixed

Good spot! Fixed in 4-7 release and HEAD. Thanks.

budda’s picture

Status: Fixed » Closed (fixed)