]> git.andy128k.dev Git - ipf-legacy-orm.git/commitdiff
Inline CheckBoxes fix
authoravl <alex.litovchenko@gmail.com>
Sun, 1 Feb 2009 21:41:49 +0000 (23:41 +0200)
committeravl <alex.litovchenko@gmail.com>
Sun, 1 Feb 2009 21:41:49 +0000 (23:41 +0200)
ipf/orm/record.php

index a8baf48ba8ad7f829372268e997d065f95d6b507..9eeb8f154ef641ad39b3a5f810169a23d14a2ff7 100644 (file)
@@ -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();
         }