From #358436: No child nodes are created:

When I try to create a new instance of a book with the skeleton I receive the following warning: "warning: Invalid argument supplied for foreach() in ...\htdocs\drupal68\sites\all\modules\skeleton\skeleton_token.inc on line 210."

The following patch should prevent the warning.

Comments

deviantintegral’s picture

StatusFileSize
new3.04 KB

Here is an updated patch which fixes the wrong variable being sent to token_replace() for the node replacements.

deviantintegral’s picture

StatusFileSize
new3 KB

This is an updated patch which applies against HEAD. I'll be committing it shortly.

deviantintegral’s picture

Status: Needs review » Fixed

Committed to HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.