Actions
Bug #17339
closedlinkHandler Hook Not Initialized Properly
Start date:
2007-05-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
TYPO3 4.1.0 added a new hook for linkHandlers in tslib_content to allow extensions to link to individual records.
The code here uses TYPO3_CONF_VARS to initialize the hook, but the TYPO3_CONF_VARS are not declared as a global so the hook array is always empty.
I"m attaching the very trivial patch to declare them as a global and also to make sure the hook method exists before it is called.
(issue imported from #M5701)
Files
Updated by Steffen Kamper over 17 years ago
i can confirm this - thx jeff, now the hook works.
Updated by Steffen Kamper over 17 years ago
more easy would be to add this statement at the beginning of the function:
global $TYPO3_CONF_VARS;
like in all other hooks defined in core ;-)
Actions