[TYPO3-commerce] RFC: #10433: Ressource leak in tx_commerce_product::get_Articles_by_AttributeArray
Michael Knabe
t3 at aafhh.de
Tue Oct 26 13:17:33 CEST 2010
$result is always set (as long as there is no SQL error which would be
another bug then). If the result set is empty, the while loop will
simply end before the first run.
Even if there is an error in the SQL-query it would not lead to an
error, as the t3lib_db-methods do already check for a wrong input and
handle it the correct way (i.e. write a message to devlog)
Cheers, Michael
More information about the TYPO3-team-commerce
mailing list