[TYPO3-core] RFC #11212: Turning off the admin-panel results in error
Steffen Ritter
info at rs-websystems.de
Mon Aug 24 09:31:10 CEST 2009
Rupert Germann schrieb:
> 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
>
+1 by reading and testing
kind of nobrainer to me :)
More information about the TYPO3-team-core
mailing list