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

kaay - May 31, 2009 - 18:31
Project:CCK Field Privacy
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:obsidiandesign
Status:closed
Description

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

#1

obsidiandesign - June 1, 2009 - 12:13
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

System Message - June 15, 2009 - 12:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.