diff --git a/app/voicemail_greetings/voicemail_greetings.php b/app/voicemail_greetings/voicemail_greetings.php index beb02546bd..e9d3b3c32c 100644 --- a/app/voicemail_greetings/voicemail_greetings.php +++ b/app/voicemail_greetings/voicemail_greetings.php @@ -232,7 +232,7 @@ else { echo " ".$text['title']."
\n"; echo " "; - if (permission_exists('recording_upload')) { + if (permission_exists('voicemail_greeting_upload')) { echo " \n"; echo "      \n"; echo " \n"; @@ -322,7 +322,7 @@ else { echo " ".$row['greeting_name']."\n"; echo " "; - if (permission_exists('recording_download')) { + if (permission_exists('voicemail_greeting_download')) { echo " ".$text['table-download'].""; } //echo " \n"; diff --git a/app/voicemails/app_config.php b/app/voicemails/app_config.php index 5cc3274b79..43d6fe38ca 100644 --- a/app/voicemails/app_config.php +++ b/app/voicemails/app_config.php @@ -60,6 +60,7 @@ $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $apps[$x]['permissions'][$y]['groups'][] = "admin"; $apps[$x]['permissions'][$y]['groups'][] = "user"; + $y++; //schema details $y = 0; //table array index