diff options
author | Hannes Magnusson <bjori@php.net> | 2006-11-03 14:46:48 +0000 |
---|---|---|
committer | Hannes Magnusson <bjori@php.net> | 2006-11-03 14:46:48 +0000 |
commit | 050f94f746bd834cbefa9ffc4a1eb2ef8c41f480 (patch) | |
tree | 8f5824ad6d76371ef151982b061425dc4a41b286 /ext/bcmath/bcmath.c | |
parent | 11c47dc5107001d8805ee2822454c36b5d6d56d3 (diff) | |
download | php-git-050f94f746bd834cbefa9ffc4a1eb2ef8c41f480.tar.gz |
MFH: Fix double "wron param count" messages
Diffstat (limited to 'ext/bcmath/bcmath.c')
-rw-r--r-- | ext/bcmath/bcmath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bcmath/bcmath.c b/ext/bcmath/bcmath.c index 05bfb06642..8ced9a2698 100644 --- a/ext/bcmath/bcmath.c +++ b/ext/bcmath/bcmath.c @@ -461,7 +461,7 @@ PHP_FUNCTION(bcpowmod) long scale = BCG(bc_precision); if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|l", &left, &left_len, &right, &right_len, &modulous, &modulous_len, &scale) == FAILURE) { - WRONG_PARAM_COUNT; + return; } bc_init_num(&first TSRMLS_CC); |