10000 Calculate the proper minimum argc. :) · jrtkcoder/phpredis@85fa136 · GitHub
[go: up one dir, main page]

Skip to content

Commit 85fa136

Browse files
Calculate the proper minimum argc. :)
1 parent 76f77db commit 85fa136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7192,7 +7192,7 @@ PHP_METHOD(Redis, pfadd) {
71927192
argc += zend_hash_num_elements(ht_mems);
71937193

71947194
// If the array was empty we can just exit
7195-
if(argc < 3) {
7195+
if(argc < 2) {
71967196
RETURN_FALSE;
71977197
}
71987198

0 commit comments

Comments
 (0)
0