|
@@ -61,7 +61,7 @@ class LuticateGroupsDataAccess extends LuDataAccess {
|
61
|
61
|
|
62
|
62
|
public static function getOtherUsers($group_id, $page = 0, $perPage = PHP_INT_MAX, $query = "")
|
63
|
63
|
{
|
64
|
|
- $model = LuticateUsers::where("luticate_users.id", "IS", "NULL")
|
|
64
|
+ $model = LuticateUsers::where("luticate_users_groups.id", "IS", "NULL")
|
65
|
65
|
->leftJoin("luticate_users_groups", function($join) use ($group_id)
|
66
|
66
|
{
|
67
|
67
|
$join->on("luticate_users.id", "=", "luticate_users_groups.user_id")
|