summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_saproxy.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-04-13 17:51:36 +0000
committerWez Furlong <wez@php.net>2004-04-13 17:51:36 +0000
commitd16ad34368b2c17df9d4644101e3600bad408434 (patch)
tree953cf820e1c494fb1c11d45fa9f013b2d9984350 /ext/com_dotnet/com_saproxy.c
parente1c7a424cefdce958c66b25e3bb0bee2dce9615e (diff)
downloadphp-git-d16ad34368b2c17df9d4644101e3600bad408434.tar.gz
This wasn't updated for new parameters for object handlers yet...
Diffstat (limited to 'ext/com_dotnet/com_saproxy.c')
-rw-r--r--ext/com_dotnet/com_saproxy.c6
1 files 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;
}