1
0
mirror of synced 2024-12-14 07:06:04 +03:00

Related to bug #662

This commit is contained in:
jackbravo 2007-12-11 18:25:34 +00:00
parent 9281630ed7
commit ab8819ca66

View File

@ -1278,7 +1278,7 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count
foreach ($array as $key => $value) { foreach ($array as $key => $value) {
if ($this->getTable()->hasRelation($key)) { if ($this->getTable()->hasRelation($key)) {
$this->get($key)->synchronizeWithArray($value); $this->get($key)->synchronizeWithArray($value);
} else if ($this->getTable()->hasColumn($key)) { } else if ($this->getTable()->hasField($key)) {
$this->set($key, $value); $this->set($key, $value);
} }
} }