Issue Bug Closed

#28835Recycler floods system log - PHP Warning: Missing argument 2 for t3lib_div::fixed_lgd_cs()

Marc Bastian Heinrichs 08/08/11, 14:00 updated 10/02/18, 12:20

Description

Core: Error handler (BE): PHP Warning: Missing argument 2 for t3lib_div::fixed_lgd_cs(), called in …./typo3_src-4.5.4/typo3/sysext/recycler/classes/helper/class.tx_recycler_helper.php on line 121 and defined in …./typo3_src-4.5.4/t3lib/class.t3lib_div.php line 641

the closing bracket is not set correct

change

$output = '/' . htmlspecialchars(t3lib_div::fixed_lgd_cs($row['title']), $titleLimit) . $output;

to

$output = '/' . htmlspecialchars(t3lib_div::fixed_lgd_cs($row['title'], $titleLimit)) . $output;

same problem in line 127

from

if ($fullTitleLimit) $fullOutput = '/' . htmlspecialchars(t3lib_div::fixed_lgd_cs($row['title']), $fullTitleLimit) . $fullOutput;
<pre>

to
<pre>
if ($fullTitleLimit) $fullOutput = '/' . htmlspecialchars(t3lib_div::fixed_lgd_cs($row['title'], $fullTitleLimit)) . $fullOutput;
<pre>

Will try to push this to gerrit.

Reviews 3