Commit 108789c9 authored by alexpott's avatar alexpott

Issue #2068349 by pcambra, swastik1608: Convert menu link SQL queries to the Entity Query API.

parent c8cfae7f
......@@ -1783,8 +1783,8 @@ function _menu_set_expanded_menus() {
->groupBy('menu_name')
->execute();
// Flattern the resulting array.
foreach($result as $k=>$v) {
// Flatten the resulting array.
foreach($result as $k => $v) {
$names[$k] = $v['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