Fixed bug #6071: Switch to User does not work from context menu in List Module.
authorIngmar Schlecht <ingmar.schlecht@typo3.org>
Sat, 20 Oct 2007 18:44:49 +0000 (18:44 +0000)
committerIngmar Schlecht <ingmar.schlecht@typo3.org>
Sat, 20 Oct 2007 18:44:49 +0000 (18:44 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-1@2595 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/beuser/class.tx_beuser.php

index a33a8d0..88cae19 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,8 @@
 2007-10-20  Ingmar Schlecht  <ingmar@typo3.org>
 
-       * Fixed bug #5949: BE-Shortcut to Tools->User Admin returns error. (Thanks to Oliver Hader and Christian Kuhn)
-       * Fixed bug #6210: UserTSConfig value "options.moduleMenuCollapsable=0" does not work. (Thanks to Christian Kuhn)
+       * Fixed bug #5949: BE-Shortcut to Tools->User Admin returns error. (By Oliver Hader)
+       * Fixed bug #6210: UserTSConfig value "options.moduleMenuCollapsable=0" does not work.
+       * Fixed bug #6071: Switch to User does not work from context menu in List Module. (Thanks to Christian Kuhn all patches above!)
 
 2007-10-19  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
 
index 6b22a91..3ef9a8e 100644 (file)
@@ -73,7 +73,7 @@ class tx_beuser {
                if ($BE_USER->isAdmin() && !$backRef->cmLevel && $table == 'be_users')  {       // LEVEL: Primary menu.
                        
                                // "SU" element added:
-                       $url = t3lib_extMgm::extRelPath('beuser').'mod/index.php?SwitchUser='.rawurlencode($uid).'&switchBackUser=1';
+                       $url = 'mod.php?M=tools_beuser&SwitchUser='.rawurlencode($uid).'&switchBackUser=1';
                        $localItems[] = $backRef->linkItem(
                                'Switch To User',
                                $backRef->excludeIcon('<img '.t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'],'gfx/su_back.gif').' border="0" align="top" title="" alt="" />'),