1
0
mirror of synced 2024-12-13 06:46:03 +03:00
This commit is contained in:
romanb 2007-12-12 09:54:39 +00:00
parent 910ab71938
commit 467897dadb

View File

@ -128,7 +128,7 @@ class Doctrine_Data_Import extends Doctrine_Data
$obj = $this->_importedObjects[$rowKey];
foreach ($row as $key => $value) {
if ($obj->getTable()->hasColumn($key)) {
if ($obj->getTable()->hasField($key)) {
$obj->set($key, $value);
} else if (method_exists($obj, 'set' . Doctrine::classify($key))) {
$func = 'set' . Doctrine::classify($key);