From d16ad34368b2c17df9d4644101e3600bad408434 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 13 Apr 2004 17:51:36 +0000 Subject: [PATCH] This wasn't updated for new parameters for object handlers yet... --- ext/com_dotnet/com_saproxy.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ext/com_dotnet/com_saproxy.c b/ext/com_dotnet/com_saproxy.c index 596a8e359c..5ac24acae7 100644 --- a/ext/com_dotnet/com_saproxy.c +++ b/ext/com_dotnet/com_saproxy.c @@ -58,16 +58,14 @@ typedef struct { #define SA_FETCH(zv) (php_com_saproxy*)zend_object_store_get_object(zv TSRMLS_CC) -static zval *saproxy_property_read(zval *object, zval *member, zend_bool silent TSRMLS_DC) +static zval *saproxy_property_read(zval *object, zval *member, int type TSRMLS_DC) { zval *return_value; MAKE_STD_ZVAL(return_value); ZVAL_NULL(return_value); - if (!silent) { - php_com_throw_exception(E_INVALIDARG, "safearray has no properties" TSRMLS_CC); - } + php_com_throw_exception(E_INVALIDARG, "safearray has no properties" TSRMLS_CC); return return_value; } -- 2.40.0