Commit d323b16f authored by romanb's avatar romanb

cleanups

parent a1128669
...@@ -413,8 +413,8 @@ class Doctrine_HydratorNew extends Doctrine_Hydrator_Abstract ...@@ -413,8 +413,8 @@ class Doctrine_HydratorNew extends Doctrine_Hydrator_Abstract
if ($cache[$key]['isSimpleType']) { if ($cache[$key]['isSimpleType']) {
$rowData[$dqlAlias][$fieldName] = $value; $rowData[$dqlAlias][$fieldName] = $value;
} else { } else {
$rowData[$dqlAlias][$fieldName] = $class->prepareValue( $rowData[$dqlAlias][$fieldName] = $this->prepareValue(
$fieldName, $value, $cache[$key]['type']); $class, $fieldName, $value, $cache[$key]['type']);
} }
if ( ! isset($nonemptyComponents[$dqlAlias]) && $value !== null) { if ( ! isset($nonemptyComponents[$dqlAlias]) && $value !== null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment