Project

General

Profile

Actions

Bug #21136

closed

PHP5.3-Warning about strcmp() parameters in view_help.php

Added by Stefan Geith about 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
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

12054.diff (358 Bytes) 12054.diff Administrator Admin, 2009-09-24 15:49

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20949: Saving translation: strcmp() expects parameter 2 to be stringClosedFrancois Suter2009-08-28

Actions
Actions

Also available in: Atom PDF