diff --git a/app/voicemails/resources/classes/voicemail.php b/app/voicemails/resources/classes/voicemail.php index 9f52eaec8e..cd60fd1745 100644 --- a/app/voicemails/resources/classes/voicemail.php +++ b/app/voicemails/resources/classes/voicemail.php @@ -42,7 +42,7 @@ } //set the voicemail_id array - foreach ($_SESSION['user']['extension'] as $value) { + foreach ($_SESSION['user']['extension'] as $row) { if (strlen($row['number_alias']) > 0) { $voicemail_ids[]['voicemail_id'] = $row['number_alias']; } diff --git a/app/voicemails/voicemails.php b/app/voicemails/voicemails.php index cc7c74f95a..472ab72da1 100644 --- a/app/voicemails/voicemails.php +++ b/app/voicemails/voicemails.php @@ -41,7 +41,7 @@ else { } //set the voicemail_id array - foreach ($_SESSION['user']['extension'] as $value) { + foreach ($_SESSION['user']['extension'] as $row) { if (strlen($row['number_alias']) > 0) { $voicemail_ids[]['voicemail_id'] = $row['number_alias']; }