Commit fd68a992 authored by drumm's avatar drumm
Browse files

#77380 by hunmonk, fix the content type delete button.

parent d9d43eea
......@@ -272,7 +272,7 @@ function node_type_form_submit($form_id, $form_values) {
elseif ($op == t('Delete content type')) {
return 'admin/content/types/'. $type->old_type .'/delete';
return 'admin/content/types/'. str_replace('_', '-', $type->old_type) .'/delete';
if (!empty($form_values['old_type'])) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment