Update xml_cdr_delete.php

This commit is contained in:
FusionPBX 2018-06-27 19:52:40 -06:00 committed by GitHub
parent 866b64613a
commit 99647db0e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -52,7 +52,6 @@
// delete record
$sql = "delete from v_xml_cdr ";
$sql .= "where uuid = '".$xml_cdr_uuid."' ";
$sql .= "and domain_uuid = '".$domain_uuid."' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
unset($sql, $prep_statement);
@ -68,4 +67,4 @@
$_SESSION["message"] = $text['message-delete'].": ".sizeof($xml_cdr_uuids);
header("Location: xml_cdr.php".(($_SESSION['xml_cdr']['last_query'] != '') ? "?".$_SESSION['xml_cdr']['last_query'] : null));
?>
?>