Commit b6b91ac0 authored by zYne's avatar zYne

--no commit message

--no commit message
parent a1ef5fbf
...@@ -129,8 +129,8 @@ class Doctrine_Record_Filter ...@@ -129,8 +129,8 @@ class Doctrine_Record_Filter
$tmp = $data; $tmp = $data;
$data = array(); $data = array();
foreach ($this->_table->getColumnNames() as $name) { foreach ($this->_record->getTable()->getColumnNames() as $name) {
$type = $this->_table->getTypeOf($name); $type = $this->_record->getTable()->getTypeOf($name);
if ( ! isset($tmp[$name])) { if ( ! isset($tmp[$name])) {
$data[$name] = self::$null; $data[$name] = self::$null;
...@@ -163,7 +163,7 @@ class Doctrine_Record_Filter ...@@ -163,7 +163,7 @@ class Doctrine_Record_Filter
} }
break; break;
case 'enum': case 'enum':
$data[$name] = $this->_table->enumValue($name, $tmp[$name]); $data[$name] = $this->_record->getTable()->enumValue($name, $tmp[$name]);
break; break;
default: default:
$data[$name] = $tmp[$name]; $data[$name] = $tmp[$name];
......
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