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.

CommentFileSizeAuthor
node_type_form_validate_1.diff638 bytespwolanin

Comments

pwolanin’s picture

Version: 4.7.4 » 5.x-dev

this is for 5.x

Steven’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)