From: jim winstead Date: Tue, 9 Apr 2002 20:18:09 +0000 (+0000) Subject: Fix bug #15835. X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~760 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5b7d979c0fbf4075730ab834003a86d12e92a9f;p=php Fix bug #15835. --- diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c index 56f53f63c5..1a3c579f09 100644 --- a/ext/gmp/gmp.c +++ b/ext/gmp/gmp.c @@ -946,7 +946,7 @@ ZEND_FUNCTION(gmp_invert) } FETCH_GMP_ZVAL(gmpnum_a, a_arg); - FETCH_GMP_ZVAL(gmpnum_b, a_arg); + FETCH_GMP_ZVAL(gmpnum_b, b_arg); INIT_GMP_NUM(gmpnum_result); if(mpz_invert(*gmpnum_result, *gmpnum_a, *gmpnum_b)) {