Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.2
-
Fix Version/s: 1.9.3
-
Component/s: Zend_Db_Table
-
Labels:None
Description
line 1009:
for ($i = 0; $i < count($keyValues); ++$i) { if (!isset($whereList[$i])) { $whereList[$i] = array(); } $whereList[$i][$keyPosition] = $keyValues[$i]; }
why use $i as the key to fetch value of $keyValues?
I think good solution is to re-order the array in the find() function
Issue Links
| This issue duplicates: | ||||
| ZF-3349 | $table->find() method miss matching rows |
|
|
|
In my search, there is line 1243 in Zend/Db/Table/Abstract.php (SVN trunk r17687)