Correct polycom template logic and change the && (and) to || (or).
This commit is contained in:
parent
0406afbdb8
commit
e7530e2447
|
|
@ -60,7 +60,7 @@
|
|||
feature.enhancedFeatureKeys.enabled="1"
|
||||
{foreach $keys as $row}
|
||||
{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}.callAddress=""
|
||||
attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}"
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
feature.enhancedFeatureKeys.enabled="1"
|
||||
{foreach $keys as $row}
|
||||
{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}.callAddress=""
|
||||
attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue