projects
/
project/drupal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
eb1be63
)
Issue #1847382 by thehong, pingwin4eg, 63reasons: Fixed Undefined index: access in...
author
David Rothstein
Sun, 9 Dec 2012 16:10:54 +0000 (11:10 -0500)
committer
David Rothstein
Sun, 9 Dec 2012 16:10:54 +0000 (11:10 -0500)
includes/menu.inc
patch
|
blob
|
blame
|
history
diff --git
a/includes/menu.inc
b/includes/menu.inc
index
0cb9d23
..
2be0903
100644
(file)
--- 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']);