diff options
| author | Stanislav Malyshev <stas@php.net> | 2004-03-21 18:28:38 +0000 |
|---|---|---|
| committer | Stanislav Malyshev <stas@php.net> | 2004-03-21 18:28:38 +0000 |
| commit | 5b0f6b1f34c0da29e93dd8200438037f11b21646 (patch) | |
| tree | 963844e30bf5b16f3a676b9350bf1dfe28ef5094 /ext/simplexml/simplexml.c | |
| parent | 7cf92e79edf94ed00bb400ef1018d32228db6e6c (diff) | |
| download | php-git-5b0f6b1f34c0da29e93dd8200438037f11b21646.tar.gz | |
Update for new read_property API
Diffstat (limited to 'ext/simplexml/simplexml.c')
| -rw-r--r-- | ext/simplexml/simplexml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 54c924cb8e..c6f064f6bb 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -255,9 +255,9 @@ static zval * sxe_prop_dim_read(zval *object, zval *member, zend_bool elements, /* {{{ sxe_property_read() */ -static zval * sxe_property_read(zval *object, zval *member, zend_bool silent TSRMLS_DC) +static zval * sxe_property_read(zval *object, zval *member, int type TSRMLS_DC) { - return sxe_prop_dim_read(object, member, 1, 0, silent TSRMLS_CC); + return sxe_prop_dim_read(object, member, 1, 0, type == BP_VAR_IS TSRMLS_CC); } /* }}} */ |
