From: Felipe Pena Date: Mon, 15 Nov 2010 18:48:48 +0000 (+0000) Subject: - Fix wrong argument to read_property call X-Git-Tag: php-5.4.0alpha1~191^2~666 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3cace9cbcc6e400a25604c47b6762f01a5b81622;p=php - Fix wrong argument to read_property call --- 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); } } }