The menu now backend supported
It loads the friends and groups of userID 2 by default (only if there is no session userID set
This commit is contained in:
@@ -15,8 +15,9 @@ function selectAllFriends($db, $userID) {
|
||||
`friendship`.`user1ID` = $userID AND
|
||||
`friendship`.`user2ID` = `user`.`userID` OR
|
||||
`friendship`.`user2ID` = $userID AND
|
||||
`friendship`.`user1ID` = `user`.`userID`"
|
||||
);
|
||||
`friendship`.`user1ID` = `user`.`userID` AND
|
||||
`user`.`role` != 3
|
||||
");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user