Download & Extend

warning: Invalid argument supplied for foreach() in /modules/cck/nodereference.module on line 188

Project:Content Construction Kit (CCK)
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I created a new content type, and it uses a nodereference field. Now, when I go to create content for my new content type, I get the error:

warning: Invalid argument supplied for foreach() in /modules/cck/nodereference.module on line 188

but I am able to create the content without any problem.

This is with the latest CCK CVS and on beta4

cheers,
Ian

Comments

#1

Status:active» fixed

This has been fixed. Missing ['relation'] after $node_field.

#2

Status:fixed» closed (fixed)