From 77b431cb61fe76ad67a320be7405fc6428b1d4ae Mon Sep 17 00:00:00 2001 From: johnnyq Date: Mon, 18 Dec 2023 14:54:49 -0500 Subject: [PATCH] Fix Folder ID for file references --- client_document_details.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_document_details.php b/client_document_details.php index d6ba5682..11e3612b 100644 --- a/client_document_details.php +++ b/client_document_details.php @@ -104,7 +104,7 @@ $document_parent = intval($row['document_parent']); while ($row = mysqli_fetch_array($sql_files)) { $file_id = intval($row['file_id']); - $folder_id = intval($row['folder_id']); + $folder_id = intval($row['file_folder_id']); $file_name = nullable_htmlentities($row['file_name']); $linked_files[] = $file_id;