Actions
Bug #4142
closedJ3.1.5: New query debugging causes errors with CBs query usage due to missing cursor clearing
Bug #4142:
J3.1.5: New query debugging causes errors with CBs query usage due to missing cursor clearing
Description
Joomla 3.1.5 has new query debugging, which needs the cursor to be cleared properly. However CBs m_free_result does not clear it. It should call Joomlas freeResult function if it's callable.
Updated by krileon over 12 years ago
Quickfix as follows.
IN: /administrator/components/com_comprofiler/library/cb/cb.database.php
ON: Lines 1232 - 1236
FROM: if ( is_object( $cur ) && get_class( $cur )....
TO: if ( is_callable( array( $this->_db, 'freeResult' ) ) ) {
$this->_db->freeResult( $cur );
} elseif ( is_object( $cur ) && get_class( $cur ).....
Updated by beat over 11 years ago
- Priority changed from Urgent to Normal
Updated by beat about 11 years ago
- Status changed from Resolved to Closed
Actions