Correct polycom template logic and change the && (and) to || (or).

This commit is contained in:
markjcrane 2015-11-12 18:51:44 -07:00
parent 0406afbdb8
commit e7530e2447
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@
feature.enhancedFeatureKeys.enabled="1" feature.enhancedFeatureKeys.enabled="1"
{foreach $keys as $row} {foreach $keys as $row}
{if $row.device_key_category == "line"} {if $row.device_key_category == "line"}
{if $row.device_key_type == "automata" && $row.device_key_type == "normal"} {if $row.device_key_type == "automata" || $row.device_key_type == "normal"}
attendant.resourceList.{$row.device_key_id}.address="{$row.device_key_value}" attendant.resourceList.{$row.device_key_id}.address="{$row.device_key_value}"
attendant.resourceList.{$row.device_key_id}.callAddress="" attendant.resourceList.{$row.device_key_id}.callAddress=""
attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}"

View File

@ -60,7 +60,7 @@
feature.enhancedFeatureKeys.enabled="1" feature.enhancedFeatureKeys.enabled="1"
{foreach $keys as $row} {foreach $keys as $row}
{if $row.device_key_category == "line"} {if $row.device_key_category == "line"}
{if $row.device_key_type == "automata" && $row.device_key_type == "normal"} {if $row.device_key_type == "automata" || $row.device_key_type == "normal"}
attendant.resourceList.{$row.device_key_id}.address="{$row.device_key_value}" attendant.resourceList.{$row.device_key_id}.address="{$row.device_key_value}"
attendant.resourceList.{$row.device_key_id}.callAddress="" attendant.resourceList.{$row.device_key_id}.callAddress=""
attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}"