summaryrefslogtreecommitdiff
path: root/ext/interbase
diff options
context:
space:
mode:
authorDaniela Mariaschi <daniela@php.net>2002-05-09 21:57:49 +0000
committerDaniela Mariaschi <daniela@php.net>2002-05-09 21:57:49 +0000
commitcbb2dbb2e231583dcedf5b76321d062f476e8be7 (patch)
tree7f4373d43f57332f02905eab16792a5456194e2e /ext/interbase
parentf7d5d1036c22e3671d4030e1cab31cc440801b9f (diff)
downloadphp-git-cbb2dbb2e231583dcedf5b76321d062f476e8be7.tar.gz
corrected parameter
Diffstat (limited to 'ext/interbase')
-rw-r--r--ext/interbase/interbase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c
index 7166605d85..7ce0fac90b 100644
--- a/ext/interbase/interbase.c
+++ b/ext/interbase/interbase.c
@@ -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). */