Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing double space

  • Loading branch information...
commit b73a9d491a2e9f717307910eeb7790fbe820a16b 1 parent 70e3ef0
José Lorenzo Rodríguez lorenzo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Model/Behavior/TranslateBehavior.php
2  src/Model/Behavior/TranslateBehavior.php
View
@@ -166,7 +166,7 @@ public function beforeSave(Event $event, Entity $entity, ArrayObject $options) {
}
$newOptions = ['I18n' => ['validate' => false]];
- $options['associated'] = $newOptions + $options['associated'];
+ $options['associated'] = $newOptions + $options['associated'];
$values = $entity->extract($this->config()['fields'], true);
$fields = array_keys($values);
$key = $entity->get(current((array)$this->_table->primaryKey()));
Please sign in to comment.
Something went wrong with that request. Please try again.