code styling

This commit is contained in:
Leo Germani 2018-03-01 20:47:28 -03:00
parent 97d2668078
commit a9fae7f573
1 changed files with 1 additions and 2 deletions

View File

@ -580,8 +580,7 @@ abstract class Repository {
$entity_type = get_class($new);
$old_entity = new $entity_type; // there is no saved entity, let compare with a new empty one
}
}
else { // get entity from repository
} else { // get entity from repository
$old_entity = $this->get_entity_by_post($old);
}
$new_entity = $this->get_entity_by_post($new);