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.3.4RC1~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6de920a272a8e35557165ba5c8cc014645019e2;p=php - Fix wrong argument to read_property call --- 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); } } }