This is a sub-part of the larger patch proposed and already reviewed here: http://drupal.org/node/88633
If you submit a new node type with the same name as an existing type you get this very unfortunate error:
Fatal error: Cannot break/continue 1 level in /Users/Shared/www/drupal/modules/node/content_types.inc on line 246
attached patch removes the offending "break" command.
| Comment | File | Size | Author |
|---|---|---|---|
| node_type_form_validate_1.diff | 638 bytes | pwolanin |
Comments
Comment #1
pwolanin commentedthis is for 5.x
Comment #2
Steven commentedCommitted to HEAD.
Comment #3
(not verified) commented