Empty commit

This commit is contained in:
Git 2014-05-05 08:00:45 +00:00
parent 3c07d94a47
commit 2037cf3162

View File

@ -2,7 +2,7 @@
if (empty($_GET['id']) || !is_number($_GET['id']) || (!empty($_GET['preview']) && !is_number($_GET['preview']))) {
error(404);
}
$UserID = $_GET['id'];
$UserID = (int)$_GET['id'];
$Preview = isset($_GET['preview']) ? $_GET['preview'] : 0;
if ($UserID == $LoggedUser['ID']) {
$OwnProfile = true;