mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
fix empty template
This commit is contained in:
@@ -842,6 +842,10 @@ class Htmlizer
|
||||
|
||||
private function handleIteration(string $template): string
|
||||
{
|
||||
if ($template === '') {
|
||||
return $template;
|
||||
}
|
||||
|
||||
if (!extension_loaded('dom')) {
|
||||
$this->log?->warning("Extension 'dom' is not enabled. HTML templating functionality is restricted.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user