ZF-11523: Bound variables lost when passing query to database adapter in Zend_Auth_Adapter_DbTable
I have overridden Zend_Auth_Adapter_DbTable for customization purpose. I also overridden Zend_Db_Select to provide bindings/parameterized queries also with 'where' conditions.
Because of the $dbSelect->__toString() (in Zend/Auth/Adapter/DbTable.php@480), my object is not called! So I have to rewrite _authenticateQuerySelect() method just to remove this strange usage.
I propose this patch:
480c480 < $resultIdentities = $this->_zendDb->fetchAll($dbSelect->__toString()); --- > $resultIdentities = $this->_zendDb->fetchAll($dbSelect);
Hope this so simple path will be approved.
Thx a lot for your work on this good framework (it really helps me!), Wilfried