Skip to content

Commit

Permalink
Fixing double space
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Feb 12, 2014
1 parent 70e3ef0 commit b73a9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Behavior/TranslateBehavior.php
Expand Up @@ -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()));
Expand Down

0 comments on commit b73a9d4

Please sign in to comment.