Skip to content

Commit

Permalink
fix typo in replace
Browse files Browse the repository at this point in the history
  • Loading branch information
strifel committed Aug 10, 2023
1 parent edaf0c8 commit 540e027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
if (!isset($_SESSION['user_id']) || ($old = checkForDBEntryOfSession($dateConfig['filename'])) == FALSE) {
appendLine($dateConfig['filename'], $txt);
} else {
replaceLine($dateConfig['filename'], $old, $txt);
replaceLine($dateConfig['filename'], $old, $txt."\n");
}

header("Location: /", true, 303);
Expand Down

0 comments on commit 540e027

Please sign in to comment.