From 8bbc4929785091f8ac0a65f6a2cf0edd554ba166 Mon Sep 17 00:00:00 2001 From: Andrey Knupp Vital Date: Wed, 7 Jan 2015 17:24:44 -0200 Subject: [PATCH] Removing weird strict comparison on different types --- lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php b/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php index 2ae7be78c..622a79a9e 100644 --- a/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php +++ b/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php @@ -842,6 +842,6 @@ class XmlDriver extends FileDriver { $flag = (string)$element; - return ($flag === true || $flag == "true" || $flag == "1"); + return ($flag == "true" || $flag == "1"); } }