浏览代码

Update permissions.php

FusionPBX 1 年之前
父节点
当前提交
8b817641fe
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      resources/classes/permissions.php

+ 2 - 2
resources/classes/permissions.php

@@ -70,8 +70,8 @@ if (!class_exists('permissions')) {
 			}
 			else {
 				//create the groups object
-				$group = new groups($this->database, $this->domain_uuid, $this->user_uuid);
-				$this->groups = $group->assigned();
+				$groups = new groups($this->database, $this->domain_uuid, $this->user_uuid);
+				$this->groups = $groups->assigned();
 
 				//get the list of groups assigned to the user
 				$this->permissions = $this->assigned();