Update destination_edit.php

This commit is contained in:
FusionPBX
2019-07-16 09:26:42 -06:00
committed by GitHub
parent 6bc0d3ba39
commit f75d293b7a

View File

@@ -164,6 +164,7 @@
if ($destination_type == 'inbound' && $destination_number != $db_destination_number) {
$sql = "select count(*) as num_rows from v_destinations ";
$sql .= "where destination_number = '".$destination_number."' ";
$sql .= "and destination_type = 'inbound' ";
$prep_statement = $db->prepare($sql);
if ($prep_statement) {
$prep_statement->execute();