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 977e9ef commit 315ecbbCopy full SHA for 315ecbb
agent/fw_drupal8.c
@@ -670,8 +670,9 @@ static bool nr_drupal_hook_attribute_instrument(zval* module_handler) {
670
}
671
672
if (0
673
- == nr_stricmp(ZEND_STRING_VALUE(class_key),
674
- "Drupal\\Core\\Extension\\ProceduralCall")) {
+ == nr_striendswith(
+ ZEND_STRING_VALUE(class_key), ZEND_STRING_LEN(class_key),
675
+ NR_PSTR("Drupal\\Core\\Extension\\ProceduralCall"))) {
676
hookpath = nr_formatf("%s", ZEND_STRING_VALUE(method_key));
677
} else {
678
hookpath = nr_formatf("%s::%s", ZEND_STRING_VALUE(class_key),
0 commit comments