mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-03 18:33:49 +00:00
Update destinations.php
This commit is contained in:
@@ -298,7 +298,7 @@ class destinations {
|
||||
//delete the checked rows
|
||||
if ($action == 'delete') {
|
||||
foreach($destinations as $row) {
|
||||
if ($row['checked'] == 'true') {
|
||||
if ($row['action'] == 'delete' or $row['checked'] == 'true') {
|
||||
$sql = "delete from v_destinations ";
|
||||
$sql .= "where destination_uuid = '".$row['destination_uuid']."'; ";
|
||||
$this->db->query($sql);
|
||||
|
||||
Reference in New Issue
Block a user