Selaa lähdekoodia

ZF-11523
Zend_Auth
Bound variables lost when passing query to database adapter in Zend_Auth_Adapter_DbTable


git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24184 44c647ce-9c0f-0410-b52a-842ac1e357ba

adamlundrigan 14 vuotta sitten
vanhempi
commit
dd5c304579
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      library/Zend/Auth/Adapter/DbTable.php

+ 1 - 1
library/Zend/Auth/Adapter/DbTable.php

@@ -477,7 +477,7 @@ class Zend_Auth_Adapter_DbTable implements Zend_Auth_Adapter_Interface
                 $origDbFetchMode = $this->_zendDb->getFetchMode();
                 $this->_zendDb->setFetchMode(Zend_DB::FETCH_ASSOC);
             }
-            $resultIdentities = $this->_zendDb->fetchAll($dbSelect->__toString());
+            $resultIdentities = $this->_zendDb->fetchAll($dbSelect);
             if (isset($origDbFetchMode)) {
                 $this->_zendDb->setFetchMode($origDbFetchMode);
                 unset($origDbFetchMode);