Fix temporary permissions

This commit is contained in:
FusionPBX
2024-11-29 13:57:01 -07:00
committed by GitHub
parent 4db95658c3
commit cd8d5302ac
131 changed files with 252 additions and 252 deletions

View File

@@ -83,7 +83,7 @@ if ($domains_processed == 1) {
//save to the data
if (!empty($array)) {
//add temporary permissions
$p = new permissions;
$p = permissions::new();
$p->add('destination_edit', 'temp');
//create the database object and save the data
@@ -109,7 +109,7 @@ if ($domains_processed == 1) {
if (!empty($array)) {
//add temporary permissions
$p = new permissions;
$p = permissions::new();
$p->add('destination_edit', 'temp');
//create the database object and save the data