From ffaf1839bad1dbfb3c056945e3aad2d3ac9d056e Mon Sep 17 00:00:00 2001 From: rsgrinko Date: Tue, 7 Dec 2021 14:01:09 +0300 Subject: [PATCH] fix --- inc/lib/CMail.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/lib/CMail.class.php b/inc/lib/CMail.class.php index 66c9175..d6d8ee1 100644 --- a/inc/lib/CMail.class.php +++ b/inc/lib/CMail.class.php @@ -283,7 +283,7 @@ class CMail $body = file_get_contenst(__DIR__.'/../../assets/mail_template/'.$template.'.html'); foreach($this->arrTemplate as $templateKey => $templateValue){ - $body = str_replace('{'.$templateKey.'}', $templateValue), $body); + $body = str_replace('{'.$templateKey.'}', $templateValue, $body); }