mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update group files prevent null errors.
This commit is contained in:
@@ -116,6 +116,7 @@ if ($domains_processed == 1) {
|
||||
//add or update the view
|
||||
$sql = "CREATE VIEW view_groups AS (";
|
||||
$sql .= " select domain_uuid, group_uuid, group_name, ";
|
||||
$sql .= " (select domain_name from v_domains where domain_uuid = g.domain_uuid) as domain_name, ";
|
||||
$sql .= " (select count(*) from v_group_permissions where group_uuid = g.group_uuid) as group_permissions, ";
|
||||
$sql .= " (select count(*) from v_user_groups where group_uuid = g.group_uuid) as group_members, ";
|
||||
$sql .= " group_level, group_protected, group_description ";
|
||||
|
||||
Reference in New Issue
Block a user