mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fixed call center queue agents table (#6746)
* Update destination_edit.php * Fixed php 8.1 errors * Fixed cdr recording download not working * Update call_center_queue_edit.php * Update call_center_queue_edit.php --------- Co-authored-by: FusionPBX <markjcrane@gmail.com>
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
//get total destination count from the database, check limit, if defined
|
||||
if (!permission_exists('destination_domain')) {
|
||||
if ($action == 'add') {
|
||||
if ($_SESSION['limit']['destinations']['numeric'] != '') {
|
||||
if (!empty($_SESSION['limit']['destinations']['numeric'])) {
|
||||
$sql = "select count(*) from v_destinations where domain_uuid = :domain_uuid ";
|
||||
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
$database = new database;
|
||||
@@ -1071,7 +1071,7 @@
|
||||
$select_style = $select_style ?? '';
|
||||
|
||||
//pre-populate the form
|
||||
if (!empty($_GET["id"]) > 0 && empty($_POST["persistformvar"])) {
|
||||
if (!empty($_GET["id"]) && empty($_POST["persistformvar"])) {
|
||||
if (is_uuid($_GET["id"])) {
|
||||
$destination_uuid = $_GET["id"];
|
||||
$sql = "select * from v_destinations ";
|
||||
|
||||
Reference in New Issue
Block a user