Fix str_replace missing parameter
This commit is contained in:
parent
28a449e513
commit
feb2f7d2f5
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class Email
|
||||||
private string $part
|
private string $part
|
||||||
) {
|
) {
|
||||||
$this->mjml = file_get_contents(ROOT . '/src/mjml/' . $this->template . '.mjml');
|
$this->mjml = file_get_contents(ROOT . '/src/mjml/' . $this->template . '.mjml');
|
||||||
$this->mjml = str_replace('MJML_PART', 'parts/' . $this->part . '.mjml');
|
$this->mjml = str_replace('MJML_PART', 'parts/' . $this->part . '.mjml', $this->mjml);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function send(): bool
|
public function send(): bool
|
||||||
|
|
Loading…
Reference in a new issue