Update voicemails.php
This commit is contained in:
parent
440ffb69db
commit
90852f54db
|
|
@ -33,6 +33,9 @@
|
||||||
if (permission_exists('voicemail_view')) {
|
if (permission_exists('voicemail_view')) {
|
||||||
//access granted
|
//access granted
|
||||||
}
|
}
|
||||||
|
elseif (permission_exists('voicemail_message_view')) {
|
||||||
|
header('Location: /app/voicemails/voicemail_messages.php');
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
echo "access denied";
|
echo "access denied";
|
||||||
exit;
|
exit;
|
||||||
|
|
@ -357,4 +360,4 @@
|
||||||
//include the footer
|
//include the footer
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue