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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 358436_no_custom_tokens_2.patch | 3 KB | deviantintegral |
| #1 | 358436_no_custom_tokens_1.patch | 3.04 KB | deviantintegral |
| 358436_no_custom_tokens.patch | 2.46 KB | deviantintegral |
Comments
Comment #1
deviantintegral commentedHere is an updated patch which fixes the wrong variable being sent to token_replace() for the node replacements.
Comment #2
deviantintegral commentedThis is an updated patch which applies against HEAD. I'll be committing it shortly.
Comment #3
deviantintegral commentedCommitted to HEAD.