I just wrapped the foreach call with a test to make sure it's an array. Seems to make the error go away. I've atatched a quick patch.

CommentFileSizeAuthor
date-for-each.patch1.1 KBColin Brumelle

Comments

Colin Brumelle’s picture

Status: Active » Needs review
karens’s picture

I'm interested in figuring out what circumstances caused this error, since it *should* already have been an array. Can you elaborate on where this came up?

karens’s picture

Status: Needs review » Fixed

I can't reproduce this, but there have been a number of changes to cvs in the last few hours that may affect it. Can you try again with the latest cvs (of both this module and content.module) and see if you are still having problems? If so, re-open and provide as many details as possible so I can reproduce it.

Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)