fixed bug #7270: Shortcut menu does not load user's shortcuts if user is not admin...
authorIngo Renner <ingo.renner@typo3.org>
Sat, 26 Jan 2008 10:39:48 +0000 (10:39 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Sat, 26 Jan 2008 10:39:48 +0000 (10:39 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2965 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/classes/class.shortcutmenu.php

index 248979c..49fb8de 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,7 @@
        * fixed style sheet overwriting from skinning extensions in backend.php
        * made tables in Web->List view fill the whole document by adding css style width of 98%
        * updated prototype to 1.6.0.2
+       * fixed bug #7270: Shortcut menu does not load user's shortcuts if user is not admin, credits Stig Nørgaard Færch
 
 2008-01-26  Oliver Hader  <oh@inpublica.de>
 
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;
                                        }