diff options
author | Wez Furlong <wez@php.net> | 2004-03-22 22:47:05 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2004-03-22 22:47:05 +0000 |
commit | 27d7cd85949348aedacdeecd86f13ca2f517eac2 (patch) | |
tree | 312e2f0de57bc3e4f2d8fcfa7da66d7455449f17 /ext/com_dotnet/com_handlers.c | |
parent | 83e9b7eeeef79d5f3f7f3f9a79f0e26545be86a5 (diff) | |
download | php-git-27d7cd85949348aedacdeecd86f13ca2f517eac2.tar.gz |
update for read handler api change
Diffstat (limited to 'ext/com_dotnet/com_handlers.c')
-rw-r--r-- | ext/com_dotnet/com_handlers.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c index c1c45ba504..4b39a47197 100644 --- a/ext/com_dotnet/com_handlers.c +++ b/ext/com_dotnet/com_handlers.c @@ -29,7 +29,7 @@ #include "php_com_dotnet_internal.h" #include "Zend/zend_exceptions.h" -static zval *com_property_read(zval *object, zval *member, zend_bool silent TSRMLS_DC) +static zval *com_property_read(zval *object, zval *member, int type TSRMLS_DC) { zval *return_value; php_com_dotnet_object *obj; @@ -52,9 +52,7 @@ static zval *com_property_read(zval *object, zval *member, zend_bool silent TSRM VariantClear(&v); } } else { - if (!silent) { - php_com_throw_exception(E_INVALIDARG, "this variant has no properties" TSRMLS_CC); - } + php_com_throw_exception(E_INVALIDARG, "this variant has no properties" TSRMLS_CC); } return return_value; |