Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- a/app/voicemails/resources/classes/voicemail.php
- +++ b/app/voicemails/resources/classes/voicemail.php
- @@ -124,7 +124,9 @@
- $sql = "select * from v_voicemails ";
- $sql .= "where domain_uuid = :domain_uuid ";
- if (is_uuid($this->voicemail_uuid)) {
- - if (permission_exists('voicemail_delete')) {
- + //soapee01 testing
- + //changed voicemail_delete to voicemail_message_delete so that users can see their own VM box
- + if (permission_exists('voicemail_message_delete')) {
- //view specific voicemail box usually reserved for an admin or superadmin
- $sql .= "and voicemail_uuid = :voicemail_uuid ";
- $parameters['voicemail_uuid'] = $this->voicemail_uuid;
- @@ -956,4 +958,4 @@ foreach ($_SESSION['user']['extension'] as $value) {
- }
- */
- -?>
- \ No newline at end of file
- +?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement