added priority to notes

This commit is contained in:
PBBFA23CKL committed 2025-07-07 14:28:11 +02:00
1 parent ce59837500
commit e8766ecc26
6 files changed
+58 -15

No files matched your search

+4 -2
View File
@@ -50,7 +50,8 @@ class NotesController
$note = $this->notesModel->createNote(
$_POST['title'],
$_POST['content'],
$_SESSION['user_id']
$_SESSION['user_id'],
$_POST['priority']
);
if ($note) {
@@ -75,7 +76,8 @@ class NotesController
$noteId,
$_POST['title'],
$_POST['content'],
$_SESSION['user_id']
$_SESSION['user_id'],
$_POST['priority']
);
if ($note) {