FusionPBX 6 жил өмнө
parent
commit
8fc68512c8

+ 1 - 1
resources/check_auth.php

@@ -106,7 +106,7 @@
 			}
 			}
 
 
 		//get the groups assigned to the user and then set the groups in $_SESSION["groups"]
 		//get the groups assigned to the user and then set the groups in $_SESSION["groups"]
-			$sql = "SELECT * FROM v_group_users ";
+			$sql = "SELECT * FROM v_user_groups ";
 			//$sql .= "where domain_uuid='".$domain_uuid."' ";
 			//$sql .= "where domain_uuid='".$domain_uuid."' ";
 			//$sql .= "and user_uuid='".$_SESSION["user_uuid"]."' ";
 			//$sql .= "and user_uuid='".$_SESSION["user_uuid"]."' ";
 			$sql .= "where domain_uuid=:domain_uuid ";
 			$sql .= "where domain_uuid=:domain_uuid ";