Fix greeting when using phrases
After saving a phrase for the greeting it would save but it wouldn't show the correct label. It would continue to play the phrase but show the UUID.
This commit is contained in:
parent
f0d2a80ab7
commit
303935b9d2
|
|
@ -839,6 +839,16 @@
|
|||
unset($selected);
|
||||
}
|
||||
}
|
||||
else if ($key == 'phrases') {
|
||||
if (!empty($instance_value) && $instance_value == $row["value"]) {
|
||||
$selected = "selected='selected'";
|
||||
$playable = '';
|
||||
$found = true;
|
||||
}
|
||||
else {
|
||||
unset($selected);
|
||||
}
|
||||
}
|
||||
else {
|
||||
unset($selected);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue