Partially Updated ticket post to use new logAction function, added some ticket history updates, tidy and added more details to logging

This commit is contained in:
johnnyq
2024-11-13 17:48:24 -05:00
parent 47a4fa78a8
commit 56361c7008
2 changed files with 30 additions and 11 deletions

View File

@@ -139,6 +139,7 @@ if (isset($_GET['undo_complete_task'])) {
// Logging
logAction("Task", "Edit", "$session_name marked task $task_name as incomplete", $client_id, $task_id);
$_SESSION['alert_type'] = "error";
$_SESSION['alert_message'] = "Task <strong>$task_name</strong> marked as incomplete";
header("Location: " . $_SERVER["HTTP_REFERER"]);