We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c0086e commit b00dcc3Copy full SHA for b00dcc3
agent/lib_php_amqplib.c
@@ -365,7 +365,7 @@ static inline void nr_php_amqplib_insert_dt_headers(zval* amqp_msg) {
365
* the actual zval.
366
*/
367
368
- if (IS_REFERENCE == Z_TYPE_P(amqp_table_data)) {
+ if (NULL != amqp_table_data && IS_REFERENCE == Z_TYPE_P(amqp_table_data)) {
369
amqp_table_data = Z_REFVAL_P(amqp_table_data);
370
}
371
if (!nr_php_is_zval_valid_array(amqp_table_data)) {
0 commit comments