diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2007-01-09 09:11:44 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2007-01-09 09:11:44 +0000 |
commit | b8f135fdd5a8b5226fda924b2146f019b96351c0 (patch) | |
tree | 85a60094b0192ded71e350a0fcc8d35ecae09d4b /modules/node/node.module | |
parent | 8f57e63aeda709324b978e4384cd67bf2214a3e3 (diff) | |
download | brdo-b8f135fdd5a8b5226fda924b2146f019b96351c0.tar.gz brdo-b8f135fdd5a8b5226fda924b2146f019b96351c0.tar.bz2 |
#107768 by Morbus Iff. Show help for content types containing '_'.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r-- | modules/node/node.module | 2 |
1 files changed, 1 insertions, 1 deletions
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 '<p>'. filter_xss_admin($type->help) .'</p>'; } } |