Project

General

Profile

Actions

Bug #45885

closed

LoginController Signal call-by-reference broken

Added by Tim Lochmüller about 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
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

Also available in: Atom PDF