Commit b8f135fd authored by drumm's avatar drumm

#107768 by Morbus Iff. Show help for content types containing '_'.

parent 8f57e63a
......@@ -40,7 +40,7 @@ function node_help($section) {
}
if (arg(0) == 'node' && arg(1) == 'add' && $type = arg(2)) {
$type = node_get_types('type', arg(2));
$type = node_get_types('type', str_replace('-', '_', arg(2)));
return '<p>'. filter_xss_admin($type->help) .'</p>';
}
}
......
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