Commit 053a1664 authored by Dries's avatar Dries
Browse files

- Patch #667816 by Damien Tournoud, catch: fxed incorrect constant usage in menu.inc.

parent 7b7bd711
......@@ -1754,7 +1754,7 @@ function menu_local_tasks($level = 0) {
$next_parent = '';
$count = 0;
foreach ($children[$parent] as $item) {
if ($item['type'] == MENU_LOCAL_ACTION) {
if ($item['type'] & MENU_IS_LOCAL_ACTION) {
continue;
}
if ($item['access']) {
......
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