mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix UNKNOWN default value of apache_note()
Closes GH-6167
This commit is contained in:
parent
40e8c7c90b
commit
f088aec6cb
3 changed files with 4 additions and 4 deletions
|
@ -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", ¬e_name, ¬e_name_len, ¬e_val, ¬e_val_len) == FAILURE) {
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s!", ¬e_name, ¬e_name_len, ¬e_val, ¬e_val_len) == FAILURE) {
|
||||
RETURN_THROWS();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue