summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 69ecfc03c2..e72c7e541b 100755
--- a/ext/pdo/pdo_stmt.c
+++ b/ext/pdo/pdo_stmt.c
@@ -534,7 +534,7 @@ static zval *dbstmt_prop_read(zval *object, zval *member, int type TSRMLS_DC)
convert_to_string(member);
- if(strcmp(Z_STRVAL_P(member), "queryString")) == 0) {
+ if(strcmp(Z_STRVAL_P(member), "queryString") == 0) {
MAKE_STD_ZVAL(return_value);
ZVAL_STRINGL(return_value, stmt->query_string, stmt->query_stringlen, 1);
}