The patch below provides a correction to the code where the status value is being set incorrectly, this will sometimes produce the following PHP warning.

Warning: Invalid argument supplied for foreach() in element_children() (line 6383 of {{SITEPATH}}/includes/common.inc).

This might have been left over from how the element was set in D6, but this patch correctly sets the 'status' default value, which is the intended purpose of that code.

CommentFileSizeAuthor
#1 status-default-value-1850884.patch648 bytestrevortwining

Comments

trevortwining’s picture

StatusFileSize
new648 bytes

Patch to fix issue

trevortwining’s picture

Issue summary: View changes

removing local path info

rooby’s picture

Issue summary: View changes
Status: Needs review » Closed (cannot reproduce)

This has already been fixed in the latest dev version a while ago.

I will make a new version soon, once I get through the issue queue.

Within the next week I would say.

Until then, the dev version is quite stable and usable.