Hendrik testing #85

Merged
11342374 merged 11 commits from hendrik-testing into master 2017-01-20 14:37:02 +01:00
Showing only changes of commit 142bae139b - Show all commits

View File

@@ -42,12 +42,11 @@ function nicetime($date) {
} }
if(empty($_GET["username"])) { if(empty($_GET["username"])) {
echo "User does not exist!"; $userID = $_SESSION["userID"];
return; } else {
$userID = getUserID($_GET["username"]);
} }
$userID = getUserID($_GET["username"]);
$user = selectUser($userID); $user = selectUser($userID);
$profile_friends = selectAllFriends($userID); $profile_friends = selectAllFriends($userID);
$profile_groups = selectAllUserGroups($userID); $profile_groups = selectAllUserGroups($userID);