From d323b16ff573e5035762a51bbb07b241c1defe6c Mon Sep 17 00:00:00 2001 From: romanb Date: Sat, 24 May 2008 21:32:21 +0000 Subject: [PATCH] cleanups --- lib/Doctrine/HydratorNew.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/HydratorNew.php b/lib/Doctrine/HydratorNew.php index cafdcc484..ae714190b 100644 --- a/lib/Doctrine/HydratorNew.php +++ b/lib/Doctrine/HydratorNew.php @@ -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) {