Taking a different approach. Utilize the existing file upload functionality and just link the file to the quote.

This commit is contained in:
wrongecho
2025-02-05 22:48:15 +00:00
parent c36fb6ae12
commit 2fe7bf6870
3 changed files with 39 additions and 15 deletions

View File

@@ -284,6 +284,8 @@ if (isset($_POST['delete_file'])) {
mysqli_query($mysqli,"DELETE FROM files WHERE file_id = $file_id");
mysqli_query($mysqli,"DELETE FROM quote_files WHERE file_id = $file_id");
//Logging
logAction("File", "Delete", "$session_name deleted file $file_name", $client_id);