[TYPO3-core] FYI24: Bug #10599: Set extAdmEnabled=true when enabling frontend editing for extension compatibility

Jeff Segars jsegars at alumni.rice.edu
Tue Mar 3 18:16:29 CET 2009


Hey guys,

The attached patch will be committed within 24 hours...unless someone 
wants to review this one liner before then :)

Type: Bugfix

Bugtracker reference: http://bugs.typo3.org/view.php?id=10599

Branches: Trunk

Problem:
When frontend editing is enabled in t3lib_tsfebeuserauth we create a new 
instance of the frontend editing controller which serves as an indicator 
that frontend editing is active. In the past, a member variable named 
extAdmEnabled was the flag that indicated frontend editing was active.

Extensions may rely on $BE_USER->extAdmEnabled so it should continue to 
be set when frontend editing is active.

Solution:
Set extAdmEnabled=true when frontend editing is initialized.

Thanks,
Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10599.diff
Type: application/pgp-keys
Size: 564 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090303/475baa2e/attachment.key 


More information about the TYPO3-team-core mailing list