mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Voicemail Greetings - Edit: Fix issue where no greetings present.
This commit is contained in:
@@ -153,6 +153,7 @@ if (!empty($_POST) && empty($_POST["persistformvar"])) {
|
||||
$parameters['voicemail_id'] = $voicemail_id;
|
||||
$database = new database;
|
||||
$rows = $database->select($sql, $parameters, 'all');
|
||||
$greeting_ids = array();
|
||||
if (!empty($rows) && is_array($rows)) {
|
||||
foreach ($rows as $row) {
|
||||
$greeting_ids[] = $row['greeting_id'];
|
||||
|
||||
Reference in New Issue
Block a user