From e95ea22dbd3089a00c886c100b246cdbc8cd7b52 Mon Sep 17 00:00:00 2001 From: slawkens Date: Tue, 16 Feb 2021 01:56:21 +0100 Subject: [PATCH] Revert "Fix phpmailer array style (PHP 8.0)" This reverts commit 0ba886bc6bc898689e4c0630f724f7c620070981. --- system/libs/phpmailer/extras/htmlfilter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/libs/phpmailer/extras/htmlfilter.php b/system/libs/phpmailer/extras/htmlfilter.php index 79ed8fc4..0c55ddb7 100644 --- a/system/libs/phpmailer/extras/htmlfilter.php +++ b/system/libs/phpmailer/extras/htmlfilter.php @@ -348,7 +348,7 @@ function tln_getnxtag($body, $offset) } //intentional fall-through case '>': - $attary[$attname] = '"yes"'; + $attary{$attname} = '"yes"'; return array($tagname, $attary, $tagtype, $lt, $pos); break; default: