1
0
mirror of synced 2024-12-13 22:56:04 +03:00
This commit is contained in:
romanb 2007-12-11 15:25:23 +00:00
parent 7202977968
commit 2717408be8

View File

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