Skip to content

Commit 1886008

Browse files
committed
chore(axiom): allow NULL to be passed in as a parameter
1 parent eb64129 commit 1886008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/php_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ PHP_FUNCTION(newrelic_notice_error) {
146146
case 5:
147147
if (FAILURE
148148
== zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET,
149-
ZEND_NUM_ARGS() TSRMLS_CC, "lssls!",
149+
ZEND_NUM_ARGS() TSRMLS_CC, "ls!s!ls!",
150150
&error_number, &errormsgstr, &errormsglen,
151151
&error_file, &error_file_len, &error_line,
152152
&error_context, &error_context_len)) {

0 commit comments

Comments
 (0)