diff options
author | David Rothstein <drothstein@gmail.com> | 2012-12-09 11:10:54 -0500 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2012-12-09 11:10:54 -0500 |
commit | 82a360da5ef8c5e376b007f5e8282cf0e65a80d5 (patch) | |
tree | 97392900522e25e4e139893955d6640c21732212 /includes/menu.inc | |
parent | eb1be6311e85b30bb46e85a348de6af2fd4eb84d (diff) | |
download | brdo-82a360da5ef8c5e376b007f5e8282cf0e65a80d5.tar.gz brdo-82a360da5ef8c5e376b007f5e8282cf0e65a80d5.tar.bz2 |
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).
Diffstat (limited to 'includes/menu.inc')
-rw-r--r-- | includes/menu.inc | 1 |
1 files changed, 1 insertions, 0 deletions
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']); |