Issue Bug Rejected

#59608displayEditIcons error with tt_content.mailform

Dominik Weber 06/16/14, 15:07 updated 11/12/15, 21:40

Description

If i use a typoscript object path like lib.test and apply tt_content.mailform to it, I get a catchable php error because the fifth parameter to the displayEditIcons-function is NULL but needs to be an array.

I fixed it manually in line 127 of typo3/sysext/core/Classes/FrontendEditing/FrontendEditingController.php from
public function displayEditIcons($content, $params, array $conf = array(), $currentRecord = ‘’, array $dataArray = array(), $addUrlParamStr = ‘’) {

to

public function displayEditIcons($content, $params, array $conf = array(), $currentRecord = ‘’, $dataArray = array(), $addUrlParamStr = ‘’) {

Can we apply this to the core?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.