Răsfoiți Sursa

Update permissions.php

FusionPBX 1 an în urmă
părinte
comite
8b817641fe
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      resources/classes/permissions.php

+ 2 - 2
resources/classes/permissions.php

@@ -70,8 +70,8 @@ if (!class_exists('permissions')) {
 			}
 			}
 			else {
 			else {
 				//create the groups object
 				//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
 				//get the list of groups assigned to the user
 				$this->permissions = $this->assigned();
 				$this->permissions = $this->assigned();