[TYPO3-commerce] FYI 96: Bug #30100 - protected property "formError" not accessible in Hooks
Georg Schönweger
georg.schoenweger at gmail.com
Thu Sep 22 10:35:30 CEST 2011
This is an SVN Patch request
Type: Bugfix
Bugtracker reference: http://forge.typo3.org/issues/30100
Branches: trunk
Problem:
in pi4/class.tx_commerce_pi4.php the var $formError is protected. It is
impossible to read the property in hooks.
Solution:
The attached patch adds setter and getter for $formError and adds a new
method called getErrors() which returns if any errors occurred...
regards,
Georg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class.tx_commerce_pi4.diff
Type: text/x-diff
Size: 4513 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-commerce/attachments/20110922/4218a8b5/attachment.diff>
More information about the TYPO3-team-commerce
mailing list