summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2010-11-15 18:48:48 +0000
committerFelipe Pena <felipe@php.net>2010-11-15 18:48:48 +0000
commit3cace9cbcc6e400a25604c47b6762f01a5b81622 (patch)
treed5fce24e1b257e0161191935920eb2ca642cda56
parent43206c8c68ea2c9365994c4f608c7d02354e7f6b (diff)
downloadphp-git-3cace9cbcc6e400a25604c47b6762f01a5b81622.tar.gz
- Fix wrong argument to read_property call
-rwxr-xr-xext/pdo/pdo_stmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c
index c57a14a781..78ccc7402b 100755
--- a/ext/pdo/pdo_stmt.c
+++ b/ext/pdo/pdo_stmt.c
@@ -2610,7 +2610,7 @@ static zval *row_prop_read(zval *object, zval *member, int type, const zend_lite
}
if (strcmp(Z_STRVAL_P(member), "queryString") == 0) {
zval_ptr_dtor(&return_value);
- return std_object_handlers.read_property(object, member, IS_STRING, key TSRMLS_CC);
+ return std_object_handlers.read_property(object, member, type, key TSRMLS_CC);
}
}
}