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

merge-requests/26/head
Dries Buytaert 2008-08-31 15:50:35 +00:00
parent f60cdab373
commit a355254e33
1 changed files with 1 additions and 1 deletions

View File

@ -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),