]> granicus.if.org Git - php/commitdiff
corrected parameter
authorDaniela Mariaschi <daniela@php.net>
Thu, 9 May 2002 21:57:49 +0000 (21:57 +0000)
committerDaniela Mariaschi <daniela@php.net>
Thu, 9 May 2002 21:57:49 +0000 (21:57 +0000)
ext/interbase/interbase.c

index 7166605d85549b82b3a794a2bca6d1354b50cdcb..7ce0fac90be61f46073217db91c718855afa5754 100644 (file)
@@ -169,7 +169,7 @@ static void get_link_trans(INTERNAL_FUNCTION_PARAMETERS, zval **link_id, ibase_d
                        *trans_id = (Z_LVAL_PP(link_id));
                        ZEND_FETCH_RESOURCE(ib_trans, ibase_tr_link *, link_id, -1, "InterBase transaction", le_trans);
                        *trans_n = ib_trans->trans_num;
-                       ZEND_FETCH_RESOURCE2(resource, ibase_db_link *, link_id, ib_trans->link_rsrc, "InterBase link", le_link, le_plink);
+                       ZEND_FETCH_RESOURCE2(resource, ibase_db_link *, NULL, ib_trans->link_rsrc, "InterBase link", le_link, le_plink);
                } else {
                        IBDEBUG("Type is le_[p]link");
                        /* Database link resource, use default transaction (=0). */