From 480e788d95e88c8ef7da80ff1ca48aa29c1dcf90 Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Fri, 6 Oct 2006 12:23:30 +0000 Subject: [PATCH] Fix for #38985 (Wez) --- ext/com_dotnet/com_handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c index a710ada588..12628098d6 100644 --- a/ext/com_dotnet/com_handlers.c +++ b/ext/com_dotnet/com_handlers.c @@ -537,7 +537,7 @@ static int com_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) return SUCCESS; } - return FAILURE; + return zend_std_cast_object_tostring(readobj, writeobj, type TSRMLS_CC); } static int com_object_count(zval *object, long *count TSRMLS_DC) -- 2.50.1