added priority to notes
This commit is contained in:
1 parent
ce59837500
commit
e8766ecc26
6 files changed
+58
-15
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user