Call Block: Fix the references to foreign keys and rename blocked_caller_uuid to call_block_uuid to conform to the naming convention.

This commit is contained in:
Mark Crane
2013-09-12 07:58:56 +00:00
parent 7241820246
commit 457b3c6c7e
6 changed files with 18 additions and 14 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ else {
if (strlen($id)>0) {
$sql = "delete from v_call_block ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "and blocked_caller_uuid = '$id' ";
$sql .= "and call_block_uuid = '$id' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
unset($prep_statement, $sql);