Merge branch 'master' into lars-algemeen
This commit is contained in:
@@ -42,12 +42,11 @@ function nicetime($date) {
|
||||
}
|
||||
|
||||
if(empty($_GET["username"])) {
|
||||
echo "User does not exist!";
|
||||
return;
|
||||
$userID = $_SESSION["userID"];
|
||||
} else {
|
||||
$userID = getUserID($_GET["username"]);
|
||||
}
|
||||
|
||||
$userID = getUserID($_GET["username"]);
|
||||
|
||||
$user = selectUser($userID);
|
||||
$profile_friends = selectAllFriends($userID);
|
||||
$profile_groups = selectAllUserGroups($userID);
|
||||
|
||||
Reference in New Issue
Block a user