Commit 554ad3ad authored by Dries's avatar Dries
Browse files

- Patch #227851 by hswong3i: made SQL query ANSI compliant.

parent 3fe8963f
......@@ -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'];
}
......
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