Fix the device delete
This commit is contained in:
parent
e4df8a5ad7
commit
3e5c77bb12
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue