Skip to content

Commit af9b209

Browse files
author
Till Brehm
committed
Fixed typo in SQL query.
1 parent 3c5f55d commit af9b209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/client/client_del.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function onBeforeDelete() {
142142
}
143143
//* Delete the records
144144
if($index_field != '') {
145-
$records = $app->db->queryAllRecords("SELECT * FROM ?? WHERE sys_groupid = ? ORDER BY ? DESC", $table, $client_group_id, $index_field);
145+
$records = $app->db->queryAllRecords("SELECT * FROM ?? WHERE sys_groupid = ? ORDER BY ?? DESC", $table, $client_group_id, $index_field);
146146
if(is_array($records)) {
147147
foreach($records as $rec) {
148148
$app->db->datalogDelete($table, $index_field, $rec[$index_field]);

0 commit comments

Comments
 (0)