fixed bug #7270: Shortcut menu does not load user's shortcuts if user is not admin...
[Packages/TYPO3.CMS.git] / typo3 / classes / class.shortcutmenu.php
index 232c850..825d292 100644 (file)
@@ -264,7 +264,7 @@ class ShortcutMenu implements backend_toolbarItem {
                                $pageId = $this->getLinkedPageId($row['url']);
                                if(t3lib_div::testInt($pageId)) {
                                                // check for webmount access
-                                       if(!$GLOBALS['BE_USER']->isInWebMount($page_id)) {
+                                       if(!$GLOBALS['BE_USER']->isInWebMount($pageId)) {
                                                continue;
                                        }