From 8cc29e84a0d68edbb8a5f09bf4bdc90b18190c6f Mon Sep 17 00:00:00 2001 From: fullbl Date: Mon, 26 Jun 2017 10:42:09 +0200 Subject: [PATCH] Update AbstractHydrator.php revert strict comparison in hydration (fails on some dates) --- lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php b/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php index 95cffa125..f430cb912 100644 --- a/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php +++ b/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php @@ -297,7 +297,7 @@ abstract class AbstractHydrator if( isset($cacheKeyInfo['discriminatorColumn']) && isset($data[$cacheKeyInfo['discriminatorColumn']]) && - $data[$cacheKeyInfo['discriminatorColumn']] !== $cacheKeyInfo['discriminatorValue'] + $data[$cacheKeyInfo['discriminatorColumn']] != $cacheKeyInfo['discriminatorValue'] ){ break; }