Closed (fixed)
Project:
Bio
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2007 at 17:34 UTC
Updated:
29 Jan 2008 at 05:54 UTC
I believe I was getting this warning when saving the Bio content type because the content type had no fields and resulted in a NULL array using CCK 1.6-1:
The first argument should be an array in bio\bio_views.inc
Checking if it's a valid array before calling array_keys fixes the problem.
| Comment | File | Size | Author |
|---|---|---|---|
| bio_views.inc_.patch | 763 bytes | robloach |
Comments
Comment #1
Caleb G2 commentedI saw this error pop up for me when I installed too. (dev version)
Comment #2
mlncn commentedApplied
And it works. No errors on saving an unadorned Biography node type.
benjamin, Agaric Design Collective
Comment #3
webchickAwesome. Thanks for testing! Will commit this tomorrow, hopefully.
Comment #4
webchickCommitted. Thanks!
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.