mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-02-21 20:59:02 +00:00
Empty commit
This commit is contained in:
parent
3c07d94a47
commit
2037cf3162
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user