From: Tim Düsterhus Date: Thu, 2 Jun 2016 21:07:30 +0000 (+0200) Subject: Pass default style to template in RecipientAwareTextMimePart X-Git-Tag: 3.0.0_Beta_1~916^2~12 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1ae415f291bda67ae3d8a0698343e6d0a9cf9700;p=GitHub%2FWoltLab%2FWCF.git Pass default style to template in RecipientAwareTextMimePart --- diff --git a/wcfsetup/install/files/lib/system/email/mime/RecipientAwareTextMimePart.class.php b/wcfsetup/install/files/lib/system/email/mime/RecipientAwareTextMimePart.class.php index 405a28b0fa..b6455ecf4a 100644 --- a/wcfsetup/install/files/lib/system/email/mime/RecipientAwareTextMimePart.class.php +++ b/wcfsetup/install/files/lib/system/email/mime/RecipientAwareTextMimePart.class.php @@ -1,5 +1,7 @@ getData(); + return [ 'content' => $this->content, 'mimeType' => $this->mimeType, - 'mailbox' => $this->mailbox + 'mailbox' => $this->mailbox, + 'style' => new ActiveStyle($styleCache['styles'][$styleCache['default']]) ]; } }