summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2007-01-09 09:11:44 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2007-01-09 09:11:44 +0000
commitb8f135fdd5a8b5226fda924b2146f019b96351c0 (patch)
tree85a60094b0192ded71e350a0fcc8d35ecae09d4b /modules/node/node.module
parent8f57e63aeda709324b978e4384cd67bf2214a3e3 (diff)
downloadbrdo-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.module2
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>';
}
}