mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix temporary permissions
This commit is contained in:
@@ -428,7 +428,7 @@ if (!function_exists('fax_split_dtmf')) {
|
||||
$array['fax_queue'][0]['fax_accountcode'] = $fax_accountcode;
|
||||
|
||||
//add temporary permisison
|
||||
$p = new permissions;
|
||||
$p = permissions::new();
|
||||
$p->add('fax_queue_add', 'temp');
|
||||
|
||||
//save the data
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
$array['email_logs'][0]['email'] = str_replace("'", "''", $msg);
|
||||
|
||||
//grant temporary permissions
|
||||
$p = new permissions;
|
||||
$p = permissions::new();
|
||||
$p->add('email_log_add', 'temp');
|
||||
|
||||
//execute insert
|
||||
|
||||
Reference in New Issue
Block a user