[TYPO3-commerce] FYI24: PHP warning due to wrong parameter type

Michael Knabe t3 at aafhh.de
Mon Jul 26 16:48:07 CEST 2010


This is an SVN patch request.

Type: Bugfix

Bugtracker references: http://forge.typo3.org/issues/show/9035

Branches: trunk

Problem:
Calling t3lib_div::trimExplode() with an array as the second parameter 
triggers a PHP warning as it expects a string.

Reproduction:
Install Commerce on a clean TYPO3 installation, set displayErrors to 1 
and try to create a new category.

Solution:
Replace the empty array with an empty string.

I will commit this one in 24 hours if noone complains.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9035_v1.diff
Type: text/x-patch
Size: 466 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-commerce/attachments/20100726/bec09086/attachment.bin>


More information about the TYPO3-team-commerce mailing list