Closed (fixed)
Project:
CCK Field Permissions
Version:
5.x-1.4
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2007 at 21:06 UTC
Updated:
11 Mar 2007 at 06:21 UTC
When there are no content types selected, or when all selected content types have no fields, cck_field_perms throws and invalid argument for foreach.
I received the following error:
Invalid argument supplied for foreach() in /home/.ngu/eode/wavetekproductions.com/drupal/modules/cck_field_perms/cck_field_perms.module on line 137.
..and I updated the module, so this may be for an older version (pulled from my logs):
Invalid argument supplied for foreach() in /home/.ngu/eode/wavetekproductions.com/drupal/modules/cck_field_perms/cck_field_perms.module on line 215.
Comments
Comment #1
arthurf commentedthis should be fixed in the latest versions
Comment #2
(not verified) commented