Fixed Warnings (#6768)

* Update device_edit.php

* Update dialplan_edit.php

* Update app_languages.php
This commit is contained in:
Anthony
2023-07-06 14:51:02 -06:00
committed by GitHub
parent ddcd2c6d5a
commit 8c8ef2c309
3 changed files with 34 additions and 2 deletions
+9 -2
View File
@@ -2,7 +2,7 @@
/*
FusionPBX
Version: MPL 1.1
javascript:void(0);
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
@@ -52,8 +52,15 @@
$language = new text;
$text = $language->get();
//set the defaults
$dialplan_uuid = '';
$dialplan_name = '';
$dialplan_number = '';
$hostname = '';
$dialplan_description = '';
//set the action as an add or an update
if (is_uuid($_GET["id"])) {
if (!empty($_GET["id"]) && (is_uuid($_GET["id"]))) {
$action = "update";
$dialplan_uuid = $_GET["id"];
}