Hey Nedjo,

I just noticed this error when I log out of the site. Seems like it does not work when a anonymous user looks at the page..

warning: array_keys(): The first argument should be an array in C:\apache2triad\htdocs\geek4\sites\all\modules\contentblocker\contentblocker.module on line 318.

ANy idea?
Later,
Alex

Comments

nedjo’s picture

Assigned: Unassigned » nedjo
Status: Active » Fixed

I'd remembered to limit blocking to logged in users in one place (hook_db_rewrite_sql()) but not another (hook_nodeapi()). Now it's done in both. I also added a missing array declaration to prevent the reported array_keys() error. Fix applied to HEAD and 5.x dev.

Anonymous’s picture

Status: Fixed » Closed (fixed)