From b6b91ac0ee2fa0189f1908360cd760fd0599e1f4 Mon Sep 17 00:00:00 2001 From: zYne Date: Thu, 17 May 2007 21:48:12 +0000 Subject: [PATCH] --- lib/Doctrine/Record/Filter.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Doctrine/Record/Filter.php b/lib/Doctrine/Record/Filter.php index 80d4548f6..534f7185c 100644 --- a/lib/Doctrine/Record/Filter.php +++ b/lib/Doctrine/Record/Filter.php @@ -129,8 +129,8 @@ class Doctrine_Record_Filter $tmp = $data; $data = array(); - foreach ($this->_table->getColumnNames() as $name) { - $type = $this->_table->getTypeOf($name); + foreach ($this->_record->getTable()->getColumnNames() as $name) { + $type = $this->_record->getTable()->getTypeOf($name); if ( ! isset($tmp[$name])) { $data[$name] = self::$null; @@ -163,7 +163,7 @@ class Doctrine_Record_Filter } break; case 'enum': - $data[$name] = $this->_table->enumValue($name, $tmp[$name]); + $data[$name] = $this->_record->getTable()->enumValue($name, $tmp[$name]); break; default: $data[$name] = $tmp[$name];