diff options
-rw-r--r-- | ext/com_dotnet/com_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |