Commit f906d2dd authored by Dries's avatar Dries
Browse files

- Patch #31306 by ax: fixed menu system warning.

parent 5486af9d
......@@ -922,7 +922,9 @@ function _menu_append_contextual_items() {
$_menu['items'][$mid]['access'] = $item['access'];
$_menu['items'][$mid]['callback'] = $item['callback'];
$_menu['items'][$mid]['callback arguments'] = $item['callback arguments'];
if (isset($item['callback arguments'])) {
$_menu['items'][$mid]['callback arguments'] = $item['callback arguments'];
}
}
else {
if (!array_key_exists('path', $item)) {
......@@ -1038,4 +1040,3 @@ function _menu_build_local_tasks($pid) {
return $forked;
}
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