Hi,
It seems to be working but my log is filling up with errors:
-----
Location http://aspe.org/admin/reports/dblog
Referrer http://aspe.org/admin/reports/status
Message Wrong parameter count for array_intersect() in /var/www/aspe.org/htdocs/sites/all/modules/simple_access/simple_access.module on line 599.
Severity error
-----
Location http://aspe.org/admin/reports/dblog
Referrer http://aspe.org/admin/reports/status
Message array_filter() [function.array-filter]: The second argument, 'Array', should be a valid callback in /var/www/aspe.org/htdocs/sites/all/modules/simple_access/simple_access.module on line 599.
Severity error
----
Location http://aspe.org/index.php?q=fckeditor/xss
Referrer http://aspe.org/user/64430/edit/Account%20Information
Message Wrong parameter count for array_intersect() in /var/www/aspe.org/htdocs/sites/all/modules/simple_access/simple_access.module on line 599.
Severity error
----
It is happening with Admins and and Users with a lower access level.
Any idea?
Thanks
Rich
Comments
Comment #1
mdixoncm commentedWe have had the same issue with the module - it looks like that line 599 is incorrect, the two values being passed into the array_filter function - when the second parameter should infact be a string.
I'm not 100% sure on the desired functionality here - so no patch - sorry.
However - we did notice that the function containing this code was only called if we had a view configured with it's access settings using "simple access groups" - editing the view and changing the access to use roles "solved" the problem for us ... might help someone out ...
Cheers,
Mike
Comment #2
les limI can't roll a patch at the moment, but line 599 should be as follows: