Fix UNKNOWN default value of apache_note()

Closes GH-6167
This commit is contained in:
Máté Kocsis 2020-09-19 14:35:37 +02:00
parent 40e8c7c90b
commit f088aec6cb
No known key found for this signature in database
GPG key ID: FD055E41728BF310
3 changed files with 4 additions and 4 deletions

View file

@ -224,7 +224,7 @@ PHP_FUNCTION(apache_note)
size_t note_name_len, note_val_len;
char *old_note_val=NULL;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &note_name, &note_name_len, &note_val, &note_val_len) == FAILURE) {
if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s!", &note_name, &note_name_len, &note_val, &note_val_len) == FAILURE) {
RETURN_THROWS();
}