diff --git a/lib/Doctrine/Record.php b/lib/Doctrine/Record.php index 066c1ebc7..56bdb239b 100644 --- a/lib/Doctrine/Record.php +++ b/lib/Doctrine/Record.php @@ -1278,7 +1278,7 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count foreach ($array as $key => $value) { if ($this->getTable()->hasRelation($key)) { $this->get($key)->synchronizeWithArray($value); - } else if ($this->getTable()->hasColumn($key)) { + } else if ($this->getTable()->hasField($key)) { $this->set($key, $value); } }