From 82a360da5ef8c5e376b007f5e8282cf0e65a80d5 Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Sun, 9 Dec 2012 11:10:54 -0500 Subject: Issue #1847382 by thehong, pingwin4eg, 63reasons: Fixed Undefined index: access in includes/menu.inc (when custom access_callback() does not exist or does not get included). --- includes/menu.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'includes') diff --git a/includes/menu.inc b/includes/menu.inc index 0cb9d23b8..2be090327 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -618,6 +618,7 @@ function _menu_load_objects(&$item, &$map) { * $item['access'] becomes TRUE if the item is accessible, FALSE otherwise. */ function _menu_check_access(&$item, $map) { + $item['access'] = FALSE; // Determine access callback, which will decide whether or not the current // user has access to this path. $callback = empty($item['access_callback']) ? 0 : trim($item['access_callback']); -- cgit v1.2.3