Actions
Bug #28835
closedRecycler floods system log - PHP Warning: Missing argument 2 for t3lib_div::fixed_lgd_cs()
Start date:
2011-08-08
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
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.
Actions