diff --git a/interface/web/client/client_del.php b/interface/web/client/client_del.php index 3e3b972c314a0a952e470f9223073a13a2c90603..6d7db6f97fdf249062e05b3edd6f27b1b656f29a 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]);