fix typo in variables names
This commit is contained in:
parent
d73ba69a07
commit
8958fa5998
@ -193,11 +193,11 @@ final class UserController
|
|||||||
|
|
||||||
$O_user = UserModel::getByID($A_urlParams[0]);
|
$O_user = UserModel::getByID($A_urlParams[0]);
|
||||||
|
|
||||||
if (isset($A_user)) {
|
if (isset($O_user)) {
|
||||||
$S_pfp = $O_user->getProfilePic();
|
$S_pfp = $O_user->getProfilePic();
|
||||||
if($S_pfp !== null) {
|
if($S_pfp !== null) {
|
||||||
header("Content-Type: image");
|
header("Content-Type: image");
|
||||||
echo $A_user["PROFILE_PIC"];
|
echo $S_pfp;
|
||||||
return Utils::RETURN_RAW;
|
return Utils::RETURN_RAW;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user