Update extension_edit.php

This commit is contained in:
FusionPBX
2021-11-30 14:20:25 -07:00
committed by GitHub
parent 4ac4286921
commit 6782195989

View File

@@ -631,7 +631,7 @@
//make sure the voicemail directory exists
if (is_numeric($voicemail_id)) {
if (!file_exists($_SESSION['switch']['voicemail']['dir']."/default/".$_SESSION['domain_name']."/".$voicemail_id)) {
mkdir($_SESSION['switch']['voicemail']['dir']."/default/".$_SESSION['domain_name']."/".$voicemail_id, 0770);
mkdir($_SESSION['switch']['voicemail']['dir']."/default/".$_SESSION['domain_name']."/".$voicemail_id, 0770, true);
}
}