I'm afraid I don't know how to submit a patch, but I was getting an error on any node form that used a vocabulary with permissions on it, and the field wouldn't appear. Fixed it by changing line 268; it looks to me like imploding the array keys into a string is not necessary. db_query() seems to want to use the array itself:

$users_uid = array_keys($user->roles);

Comments

misc’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev

Do you have the same problem with the latest dev?

  • roborn committed 8801c9e on 7.x-1.x
    Issue #1744594 by roborn: Error in term_permissions_allowed()
    
roborn’s picture

Issue summary: View changes
Status: Active » Closed (fixed)

$users_uid not in use anymore.