mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
parent
675a90daa1
commit
7688215f84
@ -82,6 +82,10 @@ class MailManager
|
||||
*/
|
||||
public function addContentToMailer($message, $code, $data, $plainOnly = false)
|
||||
{
|
||||
if (!is_string($code)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isset($this->templateCache[$code])) {
|
||||
$template = $this->templateCache[$code];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user