(Grav GitSync) Automatic Commit from RealStickman
This commit is contained in:
parent
8ef40c59bd
commit
d4663eb803
@ -1,3 +1,9 @@
|
|||||||
|
# v4.0.1
|
||||||
|
## 05/20/2023
|
||||||
|
|
||||||
|
1. [](#bugfix)
|
||||||
|
* Fixed a bug with Email 4.0 ignoring `template:` parameter when dealing with multiple body sections
|
||||||
|
|
||||||
# v4.0.0
|
# v4.0.0
|
||||||
## 05/09/2023
|
## 05/09/2023
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
name: Email
|
name: Email
|
||||||
slug: email
|
slug: email
|
||||||
type: plugin
|
type: plugin
|
||||||
version: 4.0.0
|
version: 4.0.1
|
||||||
testing: false
|
testing: false
|
||||||
description: Enables the emailing system for Grav
|
description: Enables the emailing system for Grav
|
||||||
icon: envelope
|
icon: envelope
|
||||||
|
@ -184,6 +184,9 @@ class Email
|
|||||||
if (isset($body_part['content_type'])) {
|
if (isset($body_part['content_type'])) {
|
||||||
$params_part['content_type'] = $body_part['content_type'];
|
$params_part['content_type'] = $body_part['content_type'];
|
||||||
}
|
}
|
||||||
|
if (isset($body_part['template'])) {
|
||||||
|
$params_part['template'] = $body_part['template'];
|
||||||
|
}
|
||||||
if (isset($body_part['body'])) {
|
if (isset($body_part['body'])) {
|
||||||
$this->processBody($message, $params_part, $vars, $twig, $body_part['body']);
|
$this->processBody($message, $params_part, $vars, $twig, $body_part['body']);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user