CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #38219

Display status icons [enable_stat_hook]

Added by Dietrich Heise 11 months ago. Updated 11 months ago.

Status:Resolved Start date:2012-06-20
Priority:Must have Due date:2012-07-01
Assignee:Andreas Otto % Done:

100%

Category:Version 3
Target version:-
Has patch:Yes
Votes: 1 (View)

Description

$_EXTCONF in the ext_localconf.php is serialized, it is needed to unserialize it before the check

Bug:

if ($_EXTCONF['enable_stat_hook']) {
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['recStatInfoHooks']['tx_l10nmgr'] = 'EXT:l10nmgr/class.l10nmgr_tcemain_hook.php:&tx_l10nmgr_tcemain_hook->stat';
}

Fix:

$_EXTCONF_ARRAY = unserialize($_EXTCONF);
if ($_EXTCONF_ARRAY['enable_stat_hook']) {
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['recStatInfoHooks']['tx_l10nmgr'] = 'EXT:l10nmgr/class.l10nmgr_tcemain_hook.php:&tx_l10nmgr_tcemain_hook->stat';
}

Associated revisions

Revision 64098
Added by Andreas Otto 11 months ago

  • [~BUG] Fixes #38219. Display status icons [enable_stat_hook]. Credits go to Dietrich Heise for investigating the issue and providing a patch.

Revision 64098
Added by Andreas Otto 11 months ago

  • [~BUG] Fixes #38219. Display status icons [enable_stat_hook]. Credits go to Dietrich Heise for investigating the issue and providing a patch.

History

Updated by Andreas Otto 11 months ago

  • Category set to Version 3
  • Status changed from New to Accepted
  • Assignee set to Andreas Otto

Updated by Andreas Otto 11 months ago

  • Due date set to 2012-07-01

Thanks for the patch, Dietrich.

Updated by Andreas Otto 11 months ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r64098.

Also available in: Atom PDF