Skip to content

Commit 85bbfb1

Browse files
committed
Fixed bug #69939 (Casting object to bool returns false)
1 parent 3b589d8 commit 85bbfb1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

NEWS

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55
- Core:
66
. Fixed bug #69768 (escapeshell*() doesn't cater to !). (cmb)
77

8+
- COM:
9+
. Fixed bug #69939 (Casting object to bool returns false). (Kalle)
10+
811
- PCRE:
9-
. Fixed Bug #53823 (preg_replace: * qualifier on unicode replace garbles the
12+
. Fixed bug #53823 (preg_replace: * qualifier on unicode replace garbles the
1013
string). (cmb)
1114

1215
- OpenSSL:

ext/com_dotnet/com_handlers.c

+1
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ static int com_object_cast(zval *readobj, zval *writeobj, int type)
493493
break;
494494
case IS_FALSE:
495495
case IS_TRUE:
496+
case _IS_BOOL:
496497
vt = VT_BOOL;
497498
break;
498499
case IS_STRING:

0 commit comments

Comments
 (0)