fix: allow empty note

This commit is contained in:
quenousimporte 2025-03-07 12:41:12 +01:00
parent e4f8b2f0a3
commit a1747f2ddb
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@
$content = file_get_contents($dir . '/' . $title . '.md');
}
if (!$content)
if ($content === false)
{
http_response_code(404);
die();