Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZNeumann authored and lavarou committed Jul 31, 2024
1 parent 6a46a5d commit 956dd9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agent/php_user_instrument.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,9 @@ static void nr_php_wrap_user_function_internal(nruserfn_t* wraprec TSRMLS_DC) {
/* It could be in a file not yet loaded, no reason to log anything. */
return;
}
#if ZEND_MODULE_API_NO >= ZEND_8_2_X_API_NO
wraprec->func = orig_func;
#endif

if (ZEND_USER_FUNCTION != orig_func->type) {
nrl_verbosedebug(NRL_INSTRUMENT, "%s%s%s is not a user function",
Expand Down

0 comments on commit 956dd9f

Please sign in to comment.