Commit ab8819ca authored by jackbravo's avatar jackbravo

Related to bug #662

parent 9281630e
......@@ -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);
}
}
......
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