Bug #38142
closed
PHP Warning: Illegal string offset '_CONTROL_' in t3lib/class.t3lib_recordlist.php line 186
Added by Philipp Gampe over 12 years ago.
Updated almost 10 years ago.
Description
Happens for each all pages/folders if opened with list module.
Ok, I tracked it down to /t3lib/class.t3lib_recordlist.php
lines 195-219. The problematic line is 216 with $this->addElement(...)
/**
* Finishes the list with the "stopper"-gif, adding the HTML code for that item to the internal ->HTMLcode string
*
* @return void
*/
function writeBottom() {
$this->HTMLcode .= '
<!--
End of list table:
-->
<table border="0" cellpadding="0" cellspacing="0">';
$theIcon = '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/ol/stopper.gif', 'width="18" height="16"') . ' alt="" />';
$this->HTMLcode .= $this->addElement(1, '', '', '', $this->leftMargin, $theIcon);
$this->HTMLcode .= '
</table>';
}
There is absolutely no visible change if this method turned into an empty stump. So I suggest to just remove this code.
BTW, the last two parameters of addElement
are not used any more.
- Status changed from New to Closed
- Is Regression set to No
Function has been removed meanwhile.
Also available in: Atom
PDF