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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user