]> granicus.if.org Git - php/commitdiff
Fixed bug #69939 (Casting object to bool returns false)
authorKalle Sommer Nielsen <kalle@php.net>
Fri, 26 Jun 2015 13:30:03 +0000 (15:30 +0200)
committerKalle Sommer Nielsen <kalle@php.net>
Fri, 26 Jun 2015 13:30:03 +0000 (15:30 +0200)
NEWS
ext/com_dotnet/com_handlers.c

diff --git a/NEWS b/NEWS
index 62107c1b40db1e92f0ce2904c149d5f1044aa50c..f1577e9e45382802f2bc4f7371ce21bff3ec399b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -5,8 +5,11 @@
 - Core:
   . Fixed bug #69768 (escapeshell*() doesn't cater to !). (cmb)
 
+- COM:
+  . Fixed bug #69939 (Casting object to bool returns false). (Kalle)
+
 - PCRE:
-  . Fixed Bug #53823 (preg_replace: * qualifier on unicode replace garbles the
+  . Fixed bug #53823 (preg_replace: * qualifier on unicode replace garbles the
     string). (cmb)
 
 - OpenSSL:
index ec5c70defaa6414ade047a31b611a0314b08354d..ea96fe80eb7b41f002ded87ab26a23f269703990 100644 (file)
@@ -493,6 +493,7 @@ static int com_object_cast(zval *readobj, zval *writeobj, int type)
                        break;
                case IS_FALSE:
                case IS_TRUE:
+               case _IS_BOOL:
                        vt = VT_BOOL;
                        break;
                case IS_STRING: