Recordings are stored in 'uuid' not 'recording_uuid'

This commit is contained in:
Andrew Querol
2021-03-22 23:24:15 -05:00
parent 152955625c
commit f1fbbad7ab
2 changed files with 5 additions and 3 deletions

View File

@@ -502,8 +502,9 @@ if (!class_exists('destinations')) {
foreach($_SESSION['destinations']['array'][$destination_type] as $key => $value) {
if ($key == $destination_key) {
foreach($value as $k => $row) {
$selected = ($row['destination'] == $destination_value) ? "selected='selected'" : '';
$response .= " <option id='{$row[$this->singular($key).'_uuid']}' value='".$row['destination']."' $selected>".$row['label']."</option>\n";
$selected = ($row['destination'] == $destination_value) ? "selected='selected'" : '';
$uuid = $row[$this->singular($key).'_uuid'] ?? $row['uuid'];
$response .= " <option id='{$uuid}' value='".$row['destination']."' $selected>".$row['label']."</option>\n";
}
}
}