Issue Bug Closed

#45885LoginController Signal call-by-reference broken

Tim Lochmüller 02/27/13, 14:24 updated 10/23/17, 22:16

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

Reviews 1