diff options
author | Felipe Pena <felipe@php.net> | 2010-11-15 18:48:48 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2010-11-15 18:48:48 +0000 |
commit | e6de920a272a8e35557165ba5c8cc014645019e2 (patch) | |
tree | ad3c901a1cf2606dc5a6c3d62e426f35ecb7f389 | |
parent | 1045aa2a7c8497ff9f74a1078f44e675c558094a (diff) | |
download | php-git-e6de920a272a8e35557165ba5c8cc014645019e2.tar.gz |
- Fix wrong argument to read_property call
-rwxr-xr-x | ext/pdo/pdo_stmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index 5c3fedfe10..b93831fa90 100755 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -2621,7 +2621,7 @@ static zval *row_prop_or_dim_read(zval *object, zval *member, int type TSRMLS_DC } if (strcmp(Z_STRVAL_P(member), "queryString") == 0) { zval_ptr_dtor(&return_value); - return std_object_handlers.read_property(object, member, IS_STRING TSRMLS_CC); + return std_object_handlers.read_property(object, member, type TSRMLS_CC); } } } |