From: Edin Kadribasic Date: Fri, 6 Oct 2006 12:23:30 +0000 (+0000) Subject: Fix for #38985 (Wez) X-Git-Tag: php-5.2.0RC6~87 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=480e788d95e88c8ef7da80ff1ca48aa29c1dcf90;p=php Fix for #38985 (Wez) --- 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)