Related to bug #662
This commit is contained in:
parent
9281630ed7
commit
ab8819ca66
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user