Parcourir la source

Update permissions.php

FusionPBX il y a 1 an
Parent
commit
8b817641fe
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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();