mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update calls.php (#4880)
This commit is contained in:
@@ -105,7 +105,7 @@
|
|||||||
$sql .= "where domain_uuid = :domain_uuid ";
|
$sql .= "where domain_uuid = :domain_uuid ";
|
||||||
$sql .= "and enabled = 'true' ";
|
$sql .= "and enabled = 'true' ";
|
||||||
if (!(if_group("admin") || if_group("superadmin"))) {
|
if (!(if_group("admin") || if_group("superadmin"))) {
|
||||||
if (count($_SESSION['user']['extension']) > 0) {
|
if (is_array($_SESSION['user']['extension'] && count($_SESSION['user']['extension']) > 0)) {
|
||||||
$sql .= "and (";
|
$sql .= "and (";
|
||||||
$x = 0;
|
$x = 0;
|
||||||
foreach($_SESSION['user']['extension'] as $row) {
|
foreach($_SESSION['user']['extension'] as $row) {
|
||||||
@@ -349,4 +349,4 @@
|
|||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user