From 49d3dbad9a569256bb5e57a86fb8501ab88aa1ae Mon Sep 17 00:00:00 2001 From: wrongecho Date: Wed, 5 Nov 2025 10:24:39 +0000 Subject: [PATCH] Fix client delete --- agent/modals/client/client_delete.php | 4 ++-- agent/post/client.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/agent/modals/client/client_delete.php b/agent/modals/client/client_delete.php index 46ef88b8..06eced94 100644 --- a/agent/modals/client/client_delete.php +++ b/agent/modals/client/client_delete.php @@ -5,7 +5,7 @@

Are you really, really, really sure?

-
Do you really want to delete and ALL associated data? This includes 's documents, tickets, files, financial data, logs, etc.

This process cannot be undone.
+
Do you really want to delete and ALL associated data? This includes 's documents, tickets, files, payments, invoices, logs, etc.
See this forum post.

This process cannot be undone.
@@ -17,4 +17,4 @@
- + diff --git a/agent/post/client.php b/agent/post/client.php index 601f8e0e..2e4a1aff 100644 --- a/agent/post/client.php +++ b/agent/post/client.php @@ -312,7 +312,7 @@ if (isset($_GET['delete_client'])) { flash_alert("Client $client_name deleted along with all associated data", 'error'); - redirect(); + redirect('clients.php'); }