From a598e9d42e8de6871f4142980d301b71fe3e7fa4 Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Thu, 24 Mar 2022 20:41:26 +0000 Subject: [PATCH] Remove non-existant delete query that prevents client being deleted properly on some installs --- post.php | 1 - 1 file changed, 1 deletion(-) diff --git a/post.php b/post.php index 771fa567..c9f6d151 100644 --- a/post.php +++ b/post.php @@ -1247,7 +1247,6 @@ if(isset($_GET['delete_client'])){ mysqli_query($mysqli,"DELETE FROM software WHERE software_client_id = $client_id"); mysqli_query($mysqli,"DELETE FROM vendors WHERE vendor_client_id = $client_id"); mysqli_query($mysqli,"DELETE FROM client_tags WHERE client_id = $client_id"); - mysqli_query($mysqli,"DELETE FROM user_clients WHERE client_id = $client_id"); $sql = mysqli_query($mysqli,"SELECT recurring_id FROM recurring WHERE recurring_client_id = $client_id"); while($row = mysqli_fetch_array($sql)){