From 47b1d6720d0911d3316990fd4c679a3062bec602 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 23 Feb 2022 13:56:00 -0700 Subject: [PATCH] Fix domain delete button visibility. --- core/domains/domains.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/domains/domains.php b/core/domains/domains.php index e2c8a52acd..88d4b35071 100644 --- a/core/domains/domains.php +++ b/core/domains/domains.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2018 - 2020 + Portions created by the Initial Developer are Copyright (C) 2018 - 2022 the Initial Developer. All Rights Reserved. Contributor(s): @@ -194,7 +194,7 @@ echo button::create(['type'=>'button','label'=>$text['button-toggle'],'icon'=>$_SESSION['theme']['button_icon_toggle'],'id'=>'btn_toggle','name'=>'btn_toggle','style'=>'display: none;','onclick'=>"modal_open('modal-toggle','btn_toggle');"]); } if (permission_exists('domain_delete') && $domains) { - echo button::create(['type'=>'button','label'=>$text['button-delete'],'icon'=>$_SESSION['theme']['button_icon_delete'],'id'=>'btn_delete_domain','name'=>'btn_delete_domain','style'=>'display: none;','onclick'=>"modal_open('modal-delete','btn_delete_domain');"]); + echo button::create(['type'=>'button','label'=>$text['button-delete'],'icon'=>$_SESSION['theme']['button_icon_delete'],'id'=>'btn_delete','name'=>'btn_delete','style'=>'display: none;','onclick'=>"modal_open('modal-delete','btn_delete_domain');"]); } echo "