com php-src: Fixed bug #71280 (ibase_blob_add() exp ects parameter 2 to be resorce): ext/interbas e/ibase_blobs.c
| From: | Xinchen Hui | Date: | Tue, 05 Jan 2016 15:02:17 +0000 |
| Subject: | com php-src: Fixed bug #71280 (ibase_blob_add() exp ects parameter 2 to be resorce): ext/interbas e/ibase_blobs.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90512@lists.php.net to get a copy of this message | ||
Commit: d4da32d3125f3a2220023bd123cfbabdc2939b71
Author: Xinchen Hui <laruence@gmail.com> Tue, 5 Jan 2016 23:02:17 +0800
Parents: 736b91c6507b196e9ddd84aba3f98ee7ed66c63d
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d4da32d3125f3a2220023bd123cfbabdc2939b71
Log:
Fixed bug #71280 (ibase_blob_add() expects parameter 2 to be resorce)
Bugs:
https://bugs.php.net/71280
Changed paths:
M ext/interbase/ibase_blobs.c
Diff:
diff --git a/ext/interbase/ibase_blobs.c b/ext/interbase/ibase_blobs.c
index 967a169..630b733 100644
--- a/ext/interbase/ibase_blobs.c
+++ b/ext/interbase/ibase_blobs.c
@@ -296,7 +296,7 @@ PHP_FUNCTION(ibase_blob_add)
RESET_ERRMSG;
- if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "rr", &blob_arg,
&string_arg)) {
+ if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "rz", &blob_arg,
&string_arg)) {
return;
}