com php-src: Fixed bug #69939 (Casting object to bool returns false): NEWS ext/com_dotnet/com_handlers.c
| From: | Kalle Sommer Nielsen | Date: | Fri, 26 Jun 2015 13:30:03 +0000 |
| Subject: | com php-src: Fixed bug #69939 (Casting object to bool returns false): NEWS ext/com_dotnet/com_handlers.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87541@lists.php.net to get a copy of this message | ||
Commit: 85bbfb191d4d9b95e5155f7b21093e38557969f2
Author: Kalle Sommer Nielsen <kalle@php.net> Fri, 26 Jun 2015 15:30:03 +0200
Parents: 3b589d8ca513bd55025002f8e0e692bec91b0fbb
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=85bbfb191d4d9b95e5155f7b21093e38557969f2
Log:
Fixed bug #69939 (Casting object to bool returns false)
Bugs:
https://bugs.php.net/69939
Changed paths:
M NEWS
M ext/com_dotnet/com_handlers.c
Diff:
diff --git a/NEWS b/NEWS
index 62107c1..f1577e9 100644
--- 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:
diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c
index ec5c70d..ea96fe8 100644
--- a/ext/com_dotnet/com_handlers.c
+++ b/ext/com_dotnet/com_handlers.c
@@ -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: