1
0
mirror of synced 2025-03-04 20:03:21 +03:00

Removed support to imbricated query added yesterday (which fixed ticket #782). The same thing could be easily achieved without need of Doctrine support, as mentioned in comments. Dev team decided to drop this support for now, but are considering for 1.0

This commit is contained in:
guilhermeblanco 2008-02-28 01:40:49 +00:00
parent bf0ccdfa3b
commit 2739ed843b

View File

@ -1170,17 +1170,6 @@ abstract class Doctrine_Query_Abstract
if ($value instanceof Doctrine_Expression) {
$value = $value->getSql();
unset($params[$k]);
} else if (is_object($value) && $value instanceof Doctrine_Query) { // Imbricated Query?
$field = $value->getDqlPart('select');
$field = $field[0];
$rstemp = $value->execute();
$value = array();
foreach ($rstemp as $key => $object) { // Create a table with values in imbricated query
array_push($value, $object->$field);
}
} else {
$value = '?';
}