Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
51f8d2f3
Commit
51f8d2f3
authored
Feb 09, 2006
by
Dries Buytaert
Browse files
- Patch
#47406
by Zen: menu sorting shouldn't be case insensitive.
parent
69339c71
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/node.module
View file @
51f8d2f3
...
...
@@ -1760,7 +1760,7 @@ function node_add($type) {
}
if
(
isset
(
$item
))
{
k
sort
(
$item
);
ua
sort
(
$item
,
'strnatcasecmp'
);
$output
=
t
(
'Choose the appropriate item from the list:'
)
.
'<dl>'
.
implode
(
''
,
$item
)
.
'</dl>'
;
}
else
{
...
...
modules/node/node.module
View file @
51f8d2f3
...
...
@@ -1760,7 +1760,7 @@ function node_add($type) {
}
if
(
isset
(
$item
))
{
k
sort
(
$item
);
ua
sort
(
$item
,
'strnatcasecmp'
);
$output
=
t
(
'Choose the appropriate item from the list:'
)
.
'<dl>'
.
implode
(
''
,
$item
)
.
'</dl>'
;
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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