mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update ringbacks.php (#4643)
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Portions created by the Initial Developer are Copyright (C) 2016-2018
|
Portions created by the Initial Developer are Copyright (C) 2016-2019
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
@@ -126,7 +126,7 @@ if (!class_exists('ringbacks')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//recordings
|
//recordings
|
||||||
if (sizeof($this->recordings_list) > 0) {
|
if (is_array($this->recordings_list) && sizeof($this->recordings_list) > 0) {
|
||||||
$select .= " <optgroup label='".$text['label-recordings']."'>";
|
$select .= " <optgroup label='".$text['label-recordings']."'>";
|
||||||
foreach ($this->recordings_list as $recording_value => $recording_name) {
|
foreach ($this->recordings_list as $recording_value => $recording_name) {
|
||||||
$select .= " <option value='".$recording_value."' ".(($selected == $recording_value) ? 'selected="selected"' : null).">".$recording_name."</option>\n";
|
$select .= " <option value='".$recording_value."' ".(($selected == $recording_value) ? 'selected="selected"' : null).">".$recording_name."</option>\n";
|
||||||
@@ -187,4 +187,4 @@ if (!class_exists('ringbacks')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user