From: Wez Furlong Date: Tue, 13 Apr 2004 17:51:36 +0000 (+0000) Subject: This wasn't updated for new parameters for object handlers yet... X-Git-Tag: php-5.0.0RC2RC1~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d16ad34368b2c17df9d4644101e3600bad408434;p=php This wasn't updated for new parameters for object handlers yet... --- 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; }