Closed (duplicate)
Project:
ACL
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2007 at 13:57 UTC
Updated:
8 Mar 2007 at 19:56 UTC
I found a typing error in function acl_add_user($acl_id, $uid).
Wrong code:
$test_uid = db_result(db_query("SELECT uid FROM {acl_user} WHERE acl_id = $d AND uid = %d ", $acl_id, $uid));
Right code:
$test_uid = db_result(db_query("SELECT uid FROM {acl_user} WHERE acl_id = %d AND uid = %d ", $acl_id, $uid));
Comments
Comment #1
AjK commentedMarking as dup of http://drupal.org/node/124070 as it has a patch in preference too just saying it. If I'd bothered to look I'd have attached the patch to this issue, sorry about that.
@akanashiro: when creating issues, don't "assign" them to yourself, you aren't the one who's going to review / apply it ;)
Comment #2
akanashiro commentedOh... the same typing error with acl_remove_user() :-(
bye