Actions
Bug #21136
closedPHP5.3-Warning about strcmp() parameters in view_help.php
Start date:
2009-09-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
WARNING: strcmp() expects parameter 1 to be string in view_help.php on line 447
Line 429-447:
429: $parts = array();
430: $parts0 = ''; // Reserved for header of table
...
447: if (!strcmp($parts,'')) unset($parts0);
448: $output.= implode('<br />',$parts);
Maybe line 447 should be replaced with
if (!strcmp($parts0,'')) unset($parts0);
or maybe better
if (!$parts0) {
unset($parts0);
}
(issue imported from #M12054)
Files
Actions