Fix the destination delete.

This commit is contained in:
Mark Crane
2013-01-19 06:27:18 +00:00
parent 1a70d9de5d
commit 9ff05bd317

View File

@@ -39,8 +39,8 @@ if (count($_GET)>0) {
}
//delete the destination
if (strlen($id)>0) {
$sql .= "delete from v_destinations ";
if (strlen($id) > 0) {
$sql = "delete from v_destinations ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and destination_uuid = '$id' ";
$prep_statement = $db->prepare(check_sql($sql));