]> granicus.if.org Git - php/commitdiff
This wasn't updated for new parameters for object handlers yet...
authorWez Furlong <wez@php.net>
Tue, 13 Apr 2004 17:51:36 +0000 (17:51 +0000)
committerWez Furlong <wez@php.net>
Tue, 13 Apr 2004 17:51:36 +0000 (17:51 +0000)
ext/com_dotnet/com_saproxy.c

index 596a8e359cddfbc67a2007ff44629b822365eb55..5ac24acae7cb86c106fb28ee29b56cc66fa2242a 100644 (file)
@@ -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;
 }