mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Fixed Errors for Streams & Ring Groups (#6728)
* Fixed Errors streams.php * Update streams.php * Update stream_edit.php * Update ring_groups.php * Update tones.php * Update ringbacks.php * Update ring_group_edit.php
This commit is contained in:
@@ -49,8 +49,10 @@ if (!class_exists('tones')) {
|
||||
if (!empty($tones)) {
|
||||
foreach ($tones as $tone) {
|
||||
$tone = $tone['var_name'];
|
||||
$label = $text['label-'.$tone];
|
||||
if ($label == "") {
|
||||
if (isset($text['label-'.$tone])) {
|
||||
$label = $text['label-'.$tone];
|
||||
}
|
||||
else {
|
||||
$label = $tone;
|
||||
}
|
||||
$tone_list[$tone] = $label;
|
||||
|
||||
Reference in New Issue
Block a user