From af9b2099fb656e8b34d098ae4832acccc31e7ca1 Mon Sep 17 00:00:00 2001 From: Till Brehm Date: Tue, 9 Jan 2018 15:40:21 +0100 Subject: [PATCH] Fixed typo in SQL query. --- interface/web/client/client_del.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/web/client/client_del.php b/interface/web/client/client_del.php index 3e3b972c3..6d7db6f97 100644 --- a/interface/web/client/client_del.php +++ b/interface/web/client/client_del.php @@ -142,7 +142,7 @@ class page_action extends tform_actions { } //* Delete the records if($index_field != '') { - $records = $app->db->queryAllRecords("SELECT * FROM ?? WHERE sys_groupid = ? ORDER BY ? DESC", $table, $client_group_id, $index_field); + $records = $app->db->queryAllRecords("SELECT * FROM ?? WHERE sys_groupid = ? ORDER BY ?? DESC", $table, $client_group_id, $index_field); if(is_array($records)) { foreach($records as $rec) { $app->db->datalogDelete($table, $index_field, $rec[$index_field]); -- GitLab