From b8f135fdd5a8b5226fda924b2146f019b96351c0 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Tue, 9 Jan 2007 09:11:44 +0000 Subject: #107768 by Morbus Iff. Show help for content types containing '_'. --- modules/node/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index fa1bdcc34..65705b997 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -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 '

'. filter_xss_admin($type->help) .'

'; } } -- cgit v1.2.3