mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-07 20:23:51 +00:00
Fix the device delete
This commit is contained in:
@@ -47,8 +47,7 @@ else {
|
||||
//delete the data
|
||||
if (strlen($id)>0) {
|
||||
$sql = "delete from v_devices ";
|
||||
$sql .= "where domain_uuid = '$domain_uuid' ";
|
||||
$sql .= "and device_uuid = '$id' ";
|
||||
$sql .= "where device_uuid = '$id' ";
|
||||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
$prep_statement->execute();
|
||||
unset($sql);
|
||||
|
||||
Reference in New Issue
Block a user