Actions
Bug #45885
closedLoginController Signal call-by-reference broken
Start date:
2013-02-27
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
Hey guys,
in TYPO3\CMS\Backend\Controller\LoginController - emitRenderLoginFormSignal the call-by-reference is broken.
There is a missing "&" in the array parameter of the dispatch call:
protected function emitRenderLoginFormSignal(array &$markers) {
$this->getSignalSlotDispatcher()->dispatch('TYPO3\\CMS\\Backend\\Controller\\LoginController', self::SIGNAL_RenderLoginForm, array($this, &$markers));
}
Without the call-by-reference there is no possibility to change the markers
Regards,
Tim
Actions