mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
fix bug #33734 and related (Something strange with COM Object)
- caused by fix in com_handlers.c rev 1.22.2.5
This commit is contained in:
parent
a03f730875
commit
47fb655a56
4 changed files with 17 additions and 17 deletions
|
@ -120,7 +120,7 @@ static zval *saproxy_read_dimension(zval *object, zval *offset, int type TSRMLS_
|
|||
|
||||
res = php_com_do_invoke(proxy->obj, Z_STRVAL_P(proxy->indices[0]),
|
||||
Z_STRLEN_P(proxy->indices[0]), DISPATCH_METHOD|DISPATCH_PROPERTYGET, &v,
|
||||
proxy->dimensions, args TSRMLS_CC);
|
||||
proxy->dimensions, args, 0 TSRMLS_CC);
|
||||
|
||||
if (res == SUCCESS) {
|
||||
php_com_zval_from_variant(return_value, &v, proxy->obj->code_page TSRMLS_CC);
|
||||
|
@ -233,7 +233,7 @@ static void saproxy_write_dimension(zval *object, zval *offset, zval *value TSRM
|
|||
VariantInit(&v);
|
||||
if (SUCCESS == php_com_do_invoke(proxy->obj, Z_STRVAL_P(proxy->indices[0]),
|
||||
Z_STRLEN_P(proxy->indices[0]), DISPATCH_PROPERTYPUT, &v, proxy->dimensions + 1,
|
||||
args TSRMLS_CC)) {
|
||||
args, 0 TSRMLS_CC)) {
|
||||
VariantClear(&v);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue