#71629 by keve, fix an undefined index.
parent
9f1450c989
commit
e2ade02680
|
@ -1244,7 +1244,9 @@ function _menu_append_contextual_items() {
|
|||
$mid = $_menu['path index'][$item['path']];
|
||||
if ($_menu['items'][$mid]['type'] & MENU_CREATED_BY_ADMIN) {
|
||||
$_menu['items'][$mid]['access'] = $item['access'];
|
||||
$_menu['items'][$mid]['callback'] = $item['callback'];
|
||||
if (isset($_menu['items'][$mid]['callback'])) {
|
||||
$_menu['items'][$mid]['callback'] = $item['callback'];
|
||||
}
|
||||
if (isset($_menu['items'][$mid]['callback arguments'])) {
|
||||
$_menu['items'][$mid]['callback arguments'] = $item['callback arguments'];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue