We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faefa68 commit 0a83aa1Copy full SHA for 0a83aa1
agent/fw_drupal8.c
@@ -673,8 +673,9 @@ static bool nr_drupal_hook_attribute_instrument(zval* module_handler) {
673
}
674
675
if (0
676
- == nr_stricmp(ZEND_STRING_VALUE(class_key),
677
- "Drupal\\Core\\Extension\\ProceduralCall")) {
+ == nr_striendswith(
+ ZEND_STRING_VALUE(class_key), ZEND_STRING_LEN(class_key),
678
+ NR_PSTR("Drupal\\Core\\Extension\\ProceduralCall"))) {
679
hookpath = nr_formatf("%s", ZEND_STRING_VALUE(method_key));
680
} else {
681
hookpath = nr_formatf("%s::%s", ZEND_STRING_VALUE(class_key),
0 commit comments