From 44dedb9acf94599fbf07b216b40a87fc7907fce8 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 24 Jun 2022 15:41:13 -0600 Subject: [PATCH] Set disabled when the device key type is disabled. --- resources/templates/provision/cisco/8845/{$mac}.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/templates/provision/cisco/8845/{$mac}.xml b/resources/templates/provision/cisco/8845/{$mac}.xml index 330ed7207a..b03271a46c 100644 --- a/resources/templates/provision/cisco/8845/{$mac}.xml +++ b/resources/templates/provision/cisco/8845/{$mac}.xml @@ -306,7 +306,7 @@ {foreach $keys["line"] as $row} {if $row.device_key_category == "line"} -{$row.device_key_line} +{if $row.device_key_type == "disabled"}Disabled{else}{$row.device_key_line}{/if} {$row.device_key_label} {if $row.device_key_type == "shared"}shared{else}private{/if} {$row.device_key_value}