From d5407158576d701c63dfa654d471fbc1138d66e6 Mon Sep 17 00:00:00 2001 From: ntidev Date: Fri, 4 May 2018 12:58:45 -0400 Subject: [PATCH] Update DoctrineEventSubscriber.php --- EventListener/DoctrineEventSubscriber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EventListener/DoctrineEventSubscriber.php b/EventListener/DoctrineEventSubscriber.php index d5f126c..2b274bb 100755 --- a/EventListener/DoctrineEventSubscriber.php +++ b/EventListener/DoctrineEventSubscriber.php @@ -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; }