Bug #38219
Display status icons [enable_stat_hook]
| 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
- [~BUG] Fixes #38219. Display status icons [enable_stat_hook]. Credits go to Dietrich Heise for investigating the issue and providing a patch.
- [~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
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r64098.