fix typo in variables names

This commit is contained in:
Thomas Rubini 2023-01-24 19:01:47 +01:00
parent d73ba69a07
commit 8958fa5998
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373

View File

@ -193,11 +193,11 @@ final class UserController
$O_user = UserModel::getByID($A_urlParams[0]);
if (isset($A_user)) {
if (isset($O_user)) {
$S_pfp = $O_user->getProfilePic();
if($S_pfp !== null) {
header("Content-Type: image");
echo $A_user["PROFILE_PIC"];
echo $S_pfp;
return Utils::RETURN_RAW;
}
}