Voicemail [Class]: Update for PHP 8.1
This commit is contained in:
@@ -466,7 +466,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
//delete the checked rows
|
//delete the checked rows
|
||||||
if (is_array($array) && @sizeof($array) != 0) {
|
if (!empty($array) && is_array($array) && @sizeof($array) != 0) {
|
||||||
//grant temporary permissions
|
//grant temporary permissions
|
||||||
$p = new permissions;
|
$p = new permissions;
|
||||||
$p->add('voicemail_destination_delete', 'temp');
|
$p->add('voicemail_destination_delete', 'temp');
|
||||||
|
|||||||
Reference in New Issue
Block a user