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
554ad3ad
Commit
554ad3ad
authored
Aug 25, 2008
by
Dries Buytaert
Browse files
- Patch
#227851
by hswong3i: made SQL query ANSI compliant.
parent
3fe8963f
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/menu.inc
View file @
554ad3ad
...
...
@@ -2052,7 +2052,7 @@ function _menu_clear_page_cache() {
*/
function
_menu_set_expanded_menus
()
{
$names
=
array
();
$result
=
db_query
(
"SELECT menu_name FROM
{
menu_links
}
WHERE expanded
!=
0 GROUP BY menu_name"
);
$result
=
db_query
(
"SELECT menu_name FROM
{
menu_links
}
WHERE expanded
<>
0 GROUP BY menu_name"
);
while
(
$n
=
db_fetch_array
(
$result
))
{
$names
[]
=
$n
[
'menu_name'
];
}
...
...
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