|
@@ -211,9 +211,9 @@ |
|
|
block discarded – undo |
|
211
|
211
|
try { |
|
212
|
212
|
$this->template->setFile($this->getTemplateFile()); |
|
213
|
213
|
if (version_compare(Latte\Engine::VERSION, '2.4') < 0) { |
|
214
|
|
- $this->template->_control = $this->linkGenerator; // Latte 2.3 |
|
|
214
|
+ $this->template->_control = $this->linkGenerator; // Latte 2.3 |
|
215
|
215
|
} else { |
|
216
|
|
- $this->template->getLatte()->addProvider('uiControl', $this->linkGenerator); // Latte 2.4 |
|
|
216
|
+ $this->template->getLatte()->addProvider('uiControl', $this->linkGenerator); // Latte 2.4 |
|
217
|
217
|
} |
|
218
|
218
|
|
|
219
|
219
|
$this->message->setHtmlBody((string) $this->template, $this->mail_images_base_path); |
Please login to merge, or discard this patch.