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:
@@ -849,6 +849,16 @@
|
|||||||
unset($selected);
|
unset($selected);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if ($key == 'phrases') {
|
||||||
|
if (!empty($instance_value) && $instance_value == $row["value"]) {
|
||||||
|
$selected = "selected='selected'";
|
||||||
|
$playable = '';
|
||||||
|
$found = true;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
unset($selected);
|
||||||
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
unset($selected);
|
unset($selected);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user