From ace847221e472f5b45e363f7d9878c198e5c74a9 Mon Sep 17 00:00:00 2001 From: avl Date: Sun, 1 Feb 2009 23:41:49 +0200 Subject: [PATCH] Inline CheckBoxes fix --- ipf/orm/record.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/ipf/orm/record.php b/ipf/orm/record.php index a8baf48..9eeb8f1 100644 --- a/ipf/orm/record.php +++ b/ipf/orm/record.php @@ -863,21 +863,18 @@ abstract class IPF_ORM_Record extends IPF_ORM_Record_Abstract implements Countab $this->assignIdentifier((array) $value); continue; } - if ($deep && $this->getTable()->hasRelation($key)) { $this->get($key)->synchronizeWithArray($value); } else if ($this->getTable()->hasField($key)) { $this->set($key, $value); } } - // eliminate relationships missing in the $array foreach ($this->_references as $name => $obj) { if ( ! isset($array[$name])) { unset($this->$name); } } - if ($refresh) { $this->refresh(); } -- 2.49.0