From fafeedd856aa3d32bba95c843a0557f10eb9a521 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Thu, 24 Apr 2014 09:35:37 +0000 Subject: [PATCH] Add a missing semi-colon and improve the tab spacing --- app/destinations/destination_delete.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/destinations/destination_delete.php b/app/destinations/destination_delete.php index 469a812852..e473659e65 100644 --- a/app/destinations/destination_delete.php +++ b/app/destinations/destination_delete.php @@ -47,19 +47,19 @@ else { //if no id then exit if (isset($id)) { - echo "ID is required." + echo "ID is required."; exit; } //get the dialplan_uuid - $orm = new orm; - $orm->name('destinations'); - $orm->uuid($id); - $result = $orm->find()->get(); - foreach ($result as &$row) { - $dialplan_uuid = $row["dialplan_uuid"]; - } - unset ($prep_statement); + $orm = new orm; + $orm->name('destinations'); + $orm->uuid($id); + $result = $orm->find()->get(); + foreach ($result as &$row) { + $dialplan_uuid = $row["dialplan_uuid"]; + } + unset ($prep_statement); //delete the dialplan if (isset($dialplan_uuid)) {