Download & Extend

Improper variable_get default causes error on line 165 of CCK Field Privacy

Project:CCK Field Privacy
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:obsidiandesign
Status:closed (fixed)

Issue Summary

after installing the module along with jquery_impromptu, I have a message: warning: Invalid argument supplied for foreach() in /home/www/html/sites/all/modules/cck_field_privacy/cck_field_privacy.module on line 165. where I am wrong? help me out please

Comments

#1

Title:ERROR 165» Improper variable_get default causes error on line 165 of CCK Field Privacy
Assigned to:Anonymous» obsidiandesign
Status:active» fixed

You are not doing anything wrong. If there are no content types & fields selected for privacy settings, this 'warning' will appear unintentionally because of a variable typing issue. I've committed a fix to CVS which will show up in the next -dev release. Thank you for posting this information.

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.