Hendrik testing #85

Merged
11342374 merged 11 commits from hendrik-testing into master 2017-01-20 14:37:02 +01:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit a2846c392c - Show all commits

View File

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

View File

@@ -1,4 +1,5 @@
<?php
require("connect.php");
function getUserID($username) {