From 1242bd31c97f49b99984097ababa0ae33d3a8245 Mon Sep 17 00:00:00 2001 From: Hugo Sampaio Date: Mon, 13 May 2024 17:28:53 -0300 Subject: [PATCH] wrong folder id names --- client_documents.php | 2 +- client_files.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client_documents.php b/client_documents.php index 77b1fb23..f7a7e9bf 100644 --- a/client_documents.php +++ b/client_documents.php @@ -33,7 +33,7 @@ if (!empty($_GET['folder_id'])) { // Set Folder Location Var used when creating folders $folder_location = 0; -if ($folder == 0 && $_GET["q"]) { +if ($get_folder_id == 0 && $_GET["q"]) { $sql = mysqli_query( $mysqli, "SELECT SQL_CALC_FOUND_ROWS * FROM documents diff --git a/client_files.php b/client_files.php index 17f75a48..f21eca9f 100644 --- a/client_files.php +++ b/client_files.php @@ -39,7 +39,7 @@ if ($view == 1) { // Set Folder Location Var used when creating folders $folder_location = 1; -if ($folder == 0 && $_GET["q"]) { +if ($get_folder_id == 0 && $_GET["q"]) { $sql = mysqli_query( $mysqli, "SELECT SQL_CALC_FOUND_ROWS * FROM files