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

Ingo Schmitt is at marketing-factory.de
Mon Jul 26 17:05:33 CEST 2010


Hi Michael,

could you please add a reference, _where_ you get the error (e.g. a complete Error output)?

Regards

ingo
> 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.
> <9035_v1.diff>_______________________________________________
> TYPO3-team-commerce mailing list
> TYPO3-team-commerce at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-commerce


Mit freundlichen Gruessen
Ingo Schmitt

-- 
Marketing Factory Consulting GmbH  *   mailto:is at marketing-factory.de
Stephanienstrasse 36               *          Tel.: +49 211-361176-63
D-40211 Duesseldorf, Germany       *          Fax:  +49 211-361176-99
Amtsgericht Duesseldorf HRB 53971  * http://www.marketing-factory.de/

Geschaeftsfuehrer:    Peter Faisst   |   Katja Faisst
Karoline Steinfatt   |   Christoph Allefeld   |   Markus M. Kimmel



More information about the TYPO3-team-commerce mailing list