From ff2bc83c085051ddb784d6f2c9010c1cce1aa0e5 Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Sun, 9 Sep 2001 11:03:31 +0000 Subject: [PATCH] remove ARG_COUNT(ht) # Is there any reason that the set_compare_func call is passed SORT_STRING # instead of SORT_REGULAR?? --- ext/standard/array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/array.c b/ext/standard/array.c index 83942db409..17726cf422 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -2251,7 +2251,7 @@ PHP_FUNCTION(array_unique) Bucket *p; int i; - if (ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &array) == FAILURE) { + if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &array) == FAILURE) { WRONG_PARAM_COUNT; } target_hash = HASH_OF(*array); -- 2.50.1