mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Taking a different approach. Utilize the existing file upload functionality and just link the file to the quote.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user