diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-05 19:12:59 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-05 19:12:59 +0000 |
commit | afe3f4318ddee5e6273f6b84f8969006ffa58dc4 (patch) | |
tree | 5481631cb582e075dbc5f7292852468fe0e387c7 /modules/node | |
parent | bc0d7cb36914fd06db890854a3a45ef2b5af8902 (diff) | |
download | brdo-afe3f4318ddee5e6273f6b84f8969006ffa58dc4.tar.gz brdo-afe3f4318ddee5e6273f6b84f8969006ffa58dc4.tar.bz2 |
security fixes forward ported from Drupal 5.2 - previously not committed parts of http://drupal.org/cvs?commit=74833
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.module | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index e6ca5eb91..c4ea1336e 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1373,10 +1373,9 @@ function node_menu() { 'type' => MENU_CALLBACK, ); foreach (node_get_types('types', NULL, TRUE) as $type) { - $name = check_plain($type->name); $type_url_str = str_replace('_', '-', $type->type); $items['node/add/'. $type_url_str] = array( - 'title' => drupal_ucfirst($name), + 'title' => drupal_ucfirst($type->name), 'page callback' => 'node_add', 'page arguments' => array(2), 'access callback' => 'node_access', |