mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Revert change in template.php
This commit is contained in:
parent
377751f4a4
commit
76f38758d7
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ class Template extends View
|
|||
if (\is_readable($this->path)) {
|
||||
$template = \file_get_contents($this->path); // Include template file
|
||||
} elseif (!empty($this->content)) {
|
||||
$template = $this->print($this->content);
|
||||
$template = $this->print($this->content, self::FILTER_NL2P);
|
||||
} else {
|
||||
throw new Exception('"' . $this->path . '" template is not readable or not found');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue