]> granicus.if.org Git - php/commitdiff
Fixed bug #71280 (ibase_blob_add() expects parameter 2 to be resorce)
authorXinchen Hui <laruence@gmail.com>
Tue, 5 Jan 2016 15:02:17 +0000 (23:02 +0800)
committerXinchen Hui <laruence@gmail.com>
Tue, 5 Jan 2016 15:02:17 +0000 (23:02 +0800)
ext/interbase/ibase_blobs.c

index 967a1694c17be8220990b606177207350d6b53ba..630b7330e974392cd7f5a4aee844bd93c92b44c7 100644 (file)
@@ -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;
        }