Skip to content

Commit

Permalink
Fixed same bug #76755 in setrawcookie
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Aug 17, 2018
1 parent 0a16af0 commit 5c1a2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/standard/head.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ PHP_FUNCTION(setrawcookie)
}
php_head_parse_cookie_options_array(expires_or_options, &expires, &path, &domain, &secure, &httponly, &samesite);
} else {
expires = Z_LVAL_P(expires_or_options);
expires = zval_get_long(expires_or_options);
}
}

Expand Down

0 comments on commit 5c1a2d8

Please sign in to comment.