@@ -164,14 +164,14 @@ |
||
| 164 | 164 | |
| 165 | 165 | private function fixChildArray(&$array, $key, &$entity) |
| 166 | 166 | { |
| 167 | - $count = count($array); |
|
| 168 | - for($i = 0; $i < $count; $i++) |
|
| 169 | - { |
|
| 170 | - if(isset($array[$i])) |
|
| 171 | - { |
|
| 172 | - $entity[$key][$i] = $array[$i]; |
|
| 173 | - } |
|
| 174 | - } |
|
| 167 | + $count = count($array); |
|
| 168 | + for($i = 0; $i < $count; $i++) |
|
| 169 | + { |
|
| 170 | + if(isset($array[$i])) |
|
| 171 | + { |
|
| 172 | + $entity[$key][$i] = $array[$i]; |
|
| 173 | + } |
|
| 174 | + } |
|
| 175 | 175 | } |
| 176 | 176 | |
| 177 | 177 | private function fixObject($object, &$delete = false) |
@@ -169,8 +169,8 @@ |
||
| 169 | 169 | { |
| 170 | 170 | if(in_array($propName, $this->multiValueProps) && !is_array($value)) |
| 171 | 171 | { |
| 172 | - $this->setField($propName, array($value)); |
|
| 173 | - return true; |
|
| 172 | + $this->setField($propName, array($value)); |
|
| 173 | + return true; |
|
| 174 | 174 | } |
| 175 | 175 | return false; |
| 176 | 176 | } |