Issue Bug Closed

#24276PHP Warning may occur in backend UI with recent PHP version

Alban Cousinie 12/02/10, 16:35 updated 09/14/13, 23:03

Description

The following PHP Warning occurs on my PHP installation :

PHP Warning
PHP Warning: date() expects parameter 2 to be long, string given in typo3_src-4.4.4/t3lib/class.t3lib_tceforms.php line 3026

See also screenshot attached.

It could appear in any screen since the problem is located in class /typo3_src-4.4.4/t3lib/class.t3lib_tceforms.php

The bug is due to a bad type specification on the second parameter of function formatValue ($config, $itemValue) which is being specified as a string while it should be an int.

Changing the comment above the function definition fixes the problem.

(issue imported from #M16651)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.