Skip to content

Commit

Permalink
chore(agent): modify which function is used
Browse files Browse the repository at this point in the history
Co-authored-by: Michal Nowacki <[email protected]>
  • Loading branch information
hahuja2 and lavarou authored Nov 20, 2024
1 parent 7d009f9 commit 6540e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/fw_cakephp.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ NR_PHP_WRAPPER(nr_cakephp_name_the_wt_4) {
nr_php_zval_str(&action_param, "action");
action_zval = nr_php_call(request, "getParam", &action_param);
zval_dtor(&action_param);
if (!nr_php_is_zval_valid_string(action_zval)) {
if (!nr_php_is_zval_non_empty_string(action_zval)) {
nrl_verbosedebug(NRL_FRAMEWORK, "CakePHP: no action param found in request");
goto end;
} else {
Expand Down

0 comments on commit 6540e70

Please sign in to comment.