[TYPO3-core] RFC #11212: Turning off the admin-panel results in error
Rupert Germann
rupi at gmx.li
Sat Aug 22 16:25:14 CEST 2009
Hi,
this is a SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=11212
Branches: Trunk
user writes:
Turning off the admin-panel (it's a 'admin' BE-user with adminPanel = 0
in the user's TS-config) results in error when using the Web->View:
Fatal error: Call to a member function display() on a non-object in
/var/www/typo3-svn-semantic/t3lib/class.t3lib_tsfebeuserauth.php on line
251
Solution:
add the missing check for $BE_USER->extAdmEnabled before trying to call
methods from the adminPanel object
Remarks:
the same error happens when the adminPanel is enabled in config and a
non admin user is logged in which has no adminPanel settings in his userTS.
greets
rupert
More information about the TYPO3-team-core
mailing list