[TYPO3-core] RFC #11815: Saving translation: strcmp() expects parameter 2 to be string (PHP5.3)

Thomas Hempel thomas at typo3-unleashed.net
Fri Aug 28 14:06:09 CEST 2009


Hi,

> 
> This is a SVN patch request.
> 
> Type: bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=11815
> 
> Branches:
> Trunk, 4_2, 4_1 (?)
> 
> Problem:
> Extension manager -> Translation handling -> Save selection.
> results in
> Warning: strcmp() expects parameter 2 to be string, array given in 
> t3lib/class.t3lib_befunc.php on line 2888
> 
> PHP5.3's strcmp() seems to output a warning, if one parameter is array. 
> This wasn't the case in PHP 5.2.
> 
> 
> Solution:
> test !is_array()
+1 on reading an testing


Greets,
Thomas


More information about the TYPO3-team-core mailing list