Warnings if no custom tokens have been defined
deviantintegral - January 20, 2009 - 19:45
| Project: | Skeleton outlines |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
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.
| Attachment | Size |
|---|---|
| 358436_no_custom_tokens.patch | 2.46 KB |

#1
Here is an updated patch which fixes the wrong variable being sent to token_replace() for the node replacements.
#2
This is an updated patch which applies against HEAD. I'll be committing it shortly.
#3
Committed to HEAD.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.