1
0
mirror of synced 2025-01-18 22:41:43 +03:00
This commit is contained in:
romanb 2008-05-24 21:32:21 +00:00
parent a1128669a9
commit d323b16ff5

View File

@ -413,8 +413,8 @@ class Doctrine_HydratorNew extends Doctrine_Hydrator_Abstract
if ($cache[$key]['isSimpleType']) {
$rowData[$dqlAlias][$fieldName] = $value;
} else {
$rowData[$dqlAlias][$fieldName] = $class->prepareValue(
$fieldName, $value, $cache[$key]['type']);
$rowData[$dqlAlias][$fieldName] = $this->prepareValue(
$class, $fieldName, $value, $cache[$key]['type']);
}
if ( ! isset($nonemptyComponents[$dqlAlias]) && $value !== null) {