ZF-7653: get unexpected result from find() function if passed an array within dis-ordered key
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
Comments
Posted by Satoru Yoshida (satoruyoshida) on 2009-08-21T18:59:12.000+0000
In my search, there is line 1243 in Zend/Db/Table/Abstract.php (SVN trunk r17687)
Posted by Ralph Schindler (ralph) on 2009-08-25T15:51:06.000+0000
Fixed in trunk in r17815 and in release branch 1.9 in r17816 as part of ZF-3349