commit cc17104abd4810fbfbf23b4cb624ffeff8b45507
parent ddf9ee7eb96aac357a138dc9f8f44802d14ee010
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Fri, 25 Oct 2024 14:57:49 +0200
fix: read note properly
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/edit.php b/lib/edit.php
@@ -7,7 +7,7 @@ function edit_note(
) {
/* Read Note: if it does not exist yet, use empty string */
- $content = read_note($user, $category, $filename) || "";
+ $content = read_note($user, $category, $filename);
?>