From: Tim Düsterhus Date: Mon, 15 Aug 2016 15:30:23 +0000 (+0200) Subject: Set $initialized flag after initialization in EmailTemplateEngine X-Git-Tag: 3.0.0_Beta_1~745 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=53ef2cb9e4b67746d3e968efdd8c963239b9ae46;p=GitHub%2FWoltLab%2FWCF.git Set $initialized flag after initialization in EmailTemplateEngine --- diff --git a/wcfsetup/install/files/lib/system/template/EmailTemplateEngine.class.php b/wcfsetup/install/files/lib/system/template/EmailTemplateEngine.class.php index 89b2695d12..9928df4ee1 100644 --- a/wcfsetup/install/files/lib/system/template/EmailTemplateEngine.class.php +++ b/wcfsetup/install/files/lib/system/template/EmailTemplateEngine.class.php @@ -30,6 +30,7 @@ class EmailTemplateEngine extends TemplateEngine { $statement->execute(['_wcf_email/']); parent::setTemplateGroupID($statement->fetchSingleColumn()); + $initialized = true; } return parent::getTemplateGroupID();