[REF] Using {} to access string or array offsets has been deprecated in PHP7.4
[civicrm-core.git] / CRM / Mailing / BAO / MailingJob.php
index 5fc03b14d3d896aaad4033e40b37a85f9a8c2f24..8ebd8908340c34a5ecd22f1f543a39ccd2f28577 100644 (file)
@@ -781,7 +781,7 @@ VALUES (%1, %2, %3, %4, %5, %6, %7)
     }
 
     // Register 5xx SMTP response code (permanent failure) as bounce.
-    if (isset($code{0}) && $code{0} === '5') {
+    if (isset($code[0]) && $code[0] === '5') {
       return FALSE;
     }