From 795144b2880a7d25d058a1f7158af3637a793f58 Mon Sep 17 00:00:00 2001 From: wrongecho Date: Mon, 2 Mar 2026 08:12:07 +0000 Subject: [PATCH] Fix documents => files redirect after deletion (since we merged these) --- agent/post/document.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/post/document.php b/agent/post/document.php index 8617570d..a4e90411 100644 --- a/agent/post/document.php +++ b/agent/post/document.php @@ -771,7 +771,7 @@ if (isset($_GET['delete_document'])) { // If there's a "from" parameter, we can use it to decide where to go if (isset($_GET['from']) && $_GET['from'] === 'document_details') { // User deleted from document_details.php - redirect("documents.php?client_id=$client_id"); + redirect("files.php?client_id=$client_id"); } else { // Default behavior — redirect back to previous page redirect();