Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
a355254e
Commit
a355254e
authored
Aug 31, 2008
by
Dries
Browse files
- Patch
#235175
by dmitrig01: name of content type is incorrectly capitalized.
parent
f60cdab3
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/node/node.module
View file @
a355254e
...
...
@@ -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
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment