Skip to content

Commit

Permalink
Update Marshaller.php
Browse files Browse the repository at this point in the history
Tab fixing
  • Loading branch information
Tzaoh committed Jan 17, 2016
1 parent 3c702fd commit 676d33d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ORM/Marshaller.php
Expand Up @@ -124,7 +124,7 @@ public function one(array $data, array $options = [])
}
}

$marshallOptions = [];
$marshallOptions = [];
if (isset($options['forceTargetSave'])) {
$marshallOptions['forceTargetSave'] = $options['forceTargetSave'];
}
Expand Down Expand Up @@ -313,7 +313,7 @@ protected function _belongsToMany(Association $assoc, array $data, $options = []
foreach ($keys as $key => $value) {
$conditions[][$target->aliasfield($key)] = $value;
}
if ($forceTargetSave && !$target->exists($conditions)) {
if ($forceTargetSave && !$target->exists($conditions)) {
$records[$i] = $this->one($row, $options);
}
}
Expand Down

0 comments on commit 676d33d

Please sign in to comment.