[TYPO3-commerce] RFC: #7862: bug: Class constructor of tx_commerce_attribute_value causes PHP Warning
Sascha Egerer
seg at softvision.de
Fri May 21 12:55:04 CEST 2010
This is an SVN patch request.
Type: Bug
Bugtracker references:
http://forge.typo3.org/issues/show/7862
Branches:
trunk
Problem:
The Constructor in the class.tx_commerce_attribute_value class causes a
php warning because of missing arguments. It expects the attribute value
uid as first parameter but the TYPO3 api call "makeInstance" does not
give any parameter to a new class.
Solution:
Remove the constructor because we don't need it.
Notes:
I think we can remove the Constructor because everything is dome by
"makeInstance" and the "init" function of the class. The constructor
also only calls the init function of the class.
Regards
Sascha Egerer
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 7862.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-commerce/attachments/20100521/ec1300fb/attachment.asc>
More information about the TYPO3-team-commerce
mailing list