Skip to content

Commit

Permalink
Update DoctrineEventSubscriber.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ntidev authored May 4, 2018
1 parent 834ee64 commit d540715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EventListener/DoctrineEventSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function onFlush(OnFlushEventArgs $args)
foreach($identityMap as $map) {
foreach($map as $object) {
$changes = $uow->getEntityChangeSet($object);
if(count($changes) > 1 || (count($changes) > 0 && !isset($changes["lastTimestamp"]) && !isset($changes["lastLogin"])) {
if(count($changes) > 1 || (count($changes) > 0 && !isset($changes["lastTimestamp"]) && !isset($changes["lastLogin"]))) {
$somethingChanged = true;
break;
}
Expand Down

0 comments on commit d540715

Please sign in to comment.