Closed (fixed)
Project:
Diff
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Feb 2007 at 19:44 UTC
Updated:
18 Feb 2007 at 00:30 UTC
Jump to comment: Most recent file
I just tried out the new 4.7 release. What can I say? It's fantastic!
I do get a warning when viewing a diff:
warning: Invalid argument supplied for foreach() in /Library/WebServer/Documents/modules/diff/cck.inc on line 17.
I do have CCK enabled, but this warning appears on a regular "page" type node.
thanks,
Dylan
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | cck_null_check.patch | 3.74 KB | rötzi |
Comments
Comment #1
rötzi commentedTry this patch.
It adds a check if cck fields are present in the node before trying to iterate through them.
Comment #2
grendzy commentedYour patch fixed the warning, thank you!
Comment #3
rötzi commentedpatch commited to DRUPAL-5 and DRUPAL-4-7 branch in cvs
Comment #4
moshe weitzman commentedthe way i do development is to edit HEAD and then when i am satisfied i copy to DRUPAL-5 and commit there. So please remember to commit to HEAD. I have been considering using DRUPAL-5 for development and forgetting about HEAD but not quite used to that yet.
Comment #5
(not verified) commented