Update the tab spacing on dialplan/dialplan_detail_delete.php.
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Portions created by the Initial Developer are Copyright (C) 2008-2013
|
Portions created by the Initial Developer are Copyright (C) 2008-2014
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
@@ -44,18 +44,19 @@ else {
|
|||||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//set the variables
|
||||||
if (count($_GET) > 0) {
|
if (count($_GET) > 0) {
|
||||||
$dialplan_detail_uuid = check_str($_GET["id"]);
|
$dialplan_detail_uuid = check_str($_GET["id"]);
|
||||||
$app_uuid = check_str($_REQUEST["app_uuid"]);
|
$app_uuid = check_str($_REQUEST["app_uuid"]);
|
||||||
$dialplan_uuid = check_str($_REQUEST["dialplan_uuid"]);
|
$dialplan_uuid = check_str($_REQUEST["dialplan_uuid"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//delete the dialplan detail
|
||||||
if (strlen($dialplan_detail_uuid) > 0) {
|
if (strlen($dialplan_detail_uuid) > 0) {
|
||||||
|
|
||||||
//delete child data
|
//delete child data
|
||||||
$sql = "delete from v_dialplan_details ";
|
$sql = "delete from v_dialplan_details ";
|
||||||
$sql .= "where domain_uuid = '$domain_uuid' ";
|
//$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
|
||||||
$sql .= "and dialplan_detail_uuid = '$dialplan_detail_uuid' ";
|
$sql .= "where dialplan_detail_uuid = '$dialplan_detail_uuid' ";
|
||||||
$db->query($sql);
|
$db->query($sql);
|
||||||
unset($sql);
|
unset($sql);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user