Commit a355254e authored by Dries's avatar Dries
Browse files

- Patch #235175 by dmitrig01: name of content type is incorrectly capitalized.

parent f60cdab3
......@@ -1552,7 +1552,7 @@ function node_menu() {
foreach (node_get_types('types', NULL, TRUE) as $type) {
$type_url_str = str_replace('_', '-', $type->type);
$items['node/add/' . $type_url_str] = array(
'title' => drupal_ucfirst($type->name),
'title' => $type->name,
'title callback' => 'check_plain',
'page callback' => 'node_add',
'page arguments' => array(2),
......
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