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"); } }