fix: allow empty note
This commit is contained in:
parent
e4f8b2f0a3
commit
a1747f2ddb
1 changed files with 1 additions and 1 deletions
2
note.php
2
note.php
|
|
@ -107,7 +107,7 @@
|
|||
$content = file_get_contents($dir . '/' . $title . '.md');
|
||||
}
|
||||
|
||||
if (!$content)
|
||||
if ($content === false)
|
||||
{
|
||||
http_response_code(404);
|
||||
die();
|
||||
|
|
|
|||
Loading…
Reference in a new issue