Bug #38142

PHP Warning: Illegal string offset '_CONTROL_' in t3lib/class.t3lib_recordlist.php line 186

Added by Philipp Gampe 11 months ago. Updated 11 months ago.

Status:New Start date:2012-06-17
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
TYPO3 Version:6.0 Complexity:
PHP Version:
Votes: 0

Description

Happens for each all pages/folders if opened with list module.

History

Updated by Philipp Gampe 11 months ago

Ok, I tracked it down to /t3lib/class.t3lib_recordlist.php lines 195-219. The problematic line is 216 with $this->addElement(...)

 1         /**
 2      * Finishes the list with the "stopper"-gif, adding the HTML code for that item to the internal ->HTMLcode string
 3      *
 4      * @return void
 5      */
 6     function writeBottom() {
 7         $this->HTMLcode .= '
 8 
 9         <!--
10             End of list table:
11         -->
12         <table border="0" cellpadding="0" cellspacing="0">';
13         $theIcon = '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/ol/stopper.gif', 'width="18" height="16"') . ' alt="" />';
14         $this->HTMLcode .= $this->addElement(1, '', '', '', $this->leftMargin, $theIcon);
15         $this->HTMLcode .= '
16         </table>';
17     }

There is absolutely no visible change if this method turned into an empty stump. So I suggest to just remove this code.

Updated by Philipp Gampe 11 months ago

BTW, the last two parameters of addElement are not used any more.

Also available in: Atom PDF