Partially Updated invoice post to use new logAction function, tidy and added more details to logging

This commit is contained in:
johnnyq
2024-11-11 17:39:18 -05:00
parent 1b8722eb90
commit c61ec7def6
3 changed files with 124 additions and 63 deletions

View File

@@ -76,8 +76,9 @@ if (isset($_GET['delete_folder'])) {
//Logging
logAction("Folder", "Delete", "$session_name deleted folder $folder_name", $client_id);
$_SESSION['alert_type'] = "error";
$_SESSION['alert_message'] = "Folder <strong>$folder_name</strong> deleted";
header("Location: " . $_SERVER["HTTP_REFERER"]);
}
}