summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/menu.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index 0cb9d23..2be0903 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']);