diff options
Diffstat (limited to 'ext/standard/mail.c')
| -rw-r--r-- | ext/standard/mail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/mail.c b/ext/standard/mail.c index 310710d795..4e71e33320 100644 --- a/ext/standard/mail.c +++ b/ext/standard/mail.c @@ -46,7 +46,7 @@ PHP_FUNCTION(mail) char *to=NULL, *message=NULL, *headers=NULL, *subject=NULL; int argc; - argc = ARG_COUNT(ht); + argc = ZEND_NUM_ARGS(); if (argc < 3 || argc > 4 || zend_get_parameters_array_ex(argc, argv) == FAILURE) { WRONG_PARAM_COUNT; } |
