diff --git a/src/ORM/Marshaller.php b/src/ORM/Marshaller.php index 074158ecf69..f1845be9b1f 100644 --- a/src/ORM/Marshaller.php +++ b/src/ORM/Marshaller.php @@ -294,7 +294,7 @@ public function many(array $data, array $options = []) protected function _belongsToMany(Association $assoc, array $data, $options = []) { $associated = isset($options['associated']) ? $options['associated'] : []; - $forceTargetSave = isset($options['forceTargetSave']) ? $options['forceTargetSave'] : false; + $forceTargetSave = isset($options['forceTargetSave']) ? $options['forceTargetSave'] : false; $data = array_values($data);