thomshouse/escher — Issue #42: ACL bug on context '/'?
Author: adetwiler
Created: 2012-01-27 17:36:06+00:00
State: open

```Warning: array_merge(): Argument #2 is not an array in
escher/helpers/datasource/db/helper.datasource.db.php on line 287 Warning: array_merge():
Argument #2 is not an array in escher/helpers/datasource/db/helper.datasource.db.php on line 287```

(mysqli): SELECT * FROM acl_rule WHERE (`resource_type` = 'all' AND `resource_id` = '0')
AND `action` = 'all' AND `context` IN('/',0) AND ((`context` = '/' OR `inheritable` = 1)) AND
(((`entity_type` = 'user' AND `entity_id` IN(1,0)) OR ()))

Query: SELECT * FROM acl_rule WHERE (`resource_type` = 'all' AND `resource_id` = '0') AND `action` = 'all' AND `context` IN('/',0) AND ((`context` = '/' OR `inheritable` = 1)) AND (((`entity_type` = 'user' AND `entity_id` IN(1,0)) OR ())) failed. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')))' at line 1
1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')))' at line 1