mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Return empty string if template file exists but there is nothing to parse
This commit is contained in:
parent
94c16bc363
commit
ccc67d54e3
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ class Template
|
|||
$content = Storage::read($this->absolute_path);
|
||||
$content = trim($content) . PHP_EOL;
|
||||
}
|
||||
if ($content === null || $content === '')
|
||||
if ($content === null || $content === '' || $content === PHP_EOL)
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue