#21136PHP5.3-Warning about strcmp() parameters in view_help.php
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(’
‘,$parts);
Maybe line 447 should be replaced with
if (!strcmp($parts0,’‘)) unset($parts0);
or maybe better
if (!$parts0) {
unset($parts0);
}
(issue imported from #M12054)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.