Add a missing semi-colon and improve the tab spacing

This commit is contained in:
Mark Crane
2014-04-24 09:35:37 +00:00
parent d39ee70b63
commit 0d288b6aba

View File

@@ -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)) {