|
|
@@ -77,7 +77,7 @@ abstract class Zend_Db_Table_Abstract
|
|
|
|
|
|
const SELECT_WITH_FROM_PART = true;
|
|
|
const SELECT_WITHOUT_FROM_PART = false;
|
|
|
-
|
|
|
+
|
|
|
/**
|
|
|
* Default Zend_Db_Adapter_Abstract object.
|
|
|
*
|
|
|
@@ -1167,11 +1167,11 @@ abstract class Zend_Db_Table_Abstract
|
|
|
$whereClause = null;
|
|
|
if (count($whereList)) {
|
|
|
$whereOrTerms = array();
|
|
|
+ $tableName = $this->_db->quoteTableAs($this->_name, null, true);
|
|
|
foreach ($whereList as $keyValueSets) {
|
|
|
$whereAndTerms = array();
|
|
|
foreach ($keyValueSets as $keyPosition => $keyValue) {
|
|
|
$type = $this->_metadata[$keyNames[$keyPosition]]['DATA_TYPE'];
|
|
|
- $tableName = $this->_db->quoteTableAs($this->_name, null, true);
|
|
|
$columnName = $this->_db->quoteIdentifier($keyNames[$keyPosition], true);
|
|
|
$whereAndTerms[] = $this->_db->quoteInto(
|
|
|
$tableName . '.' . $columnName . ' = ?',
|