svn: /php/php-src/ branches/PHP_5_3/ext/pdo/pdo_stmt.c trunk/ext/pdo/pdo_stmt.c
| From: | Felipe Pena | Date: | Mon, 15 Nov 2010 18:48:48 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/pdo/pdo_stmt.c trunk/ext/pdo/pdo_stmt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-63844@lists.php.net to get a copy of this message | ||
felipe Mon, 15 Nov 2010 18:48:48 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=305381
Log:
- Fix wrong argument to read_property call
Changed paths:
U php/php-src/branches/PHP_5_3/ext/pdo/pdo_stmt.c
U php/php-src/trunk/ext/pdo/pdo_stmt.c
Modified: php/php-src/branches/PHP_5_3/ext/pdo/pdo_stmt.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/pdo/pdo_stmt.c 2010-11-15 18:46:59 UTC (rev 305380)
+++ php/php-src/branches/PHP_5_3/ext/pdo/pdo_stmt.c 2010-11-15 18:48:48 UTC (rev 305381)
@@ -2621,7 +2621,7 @@
}
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);
}
}
}
Modified: php/php-src/trunk/ext/pdo/pdo_stmt.c
===================================================================
--- php/php-src/trunk/ext/pdo/pdo_stmt.c 2010-11-15 18:46:59 UTC (rev 305380)
+++ php/php-src/trunk/ext/pdo/pdo_stmt.c 2010-11-15 18:48:48 UTC (rev 305381)
@@ -2610,7 +2610,7 @@
}
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);
}
}
}