fix function name

This commit is contained in:
Thomas Rubini 2023-01-26 19:49:14 +01:00
parent cf5f1b68df
commit cf7d337c9d
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373

View File

@ -191,7 +191,7 @@ final class UserController
$O_user = UserModel::getByID($A_urlParams[0]); $O_user = UserModel::getByID($A_urlParams[0]);
if (isset($O_user)) { if (isset($O_user)) {
$S_pfp = $O_user->getProfilePic(); $S_pfp = $O_user->queryProfilePic();
if($S_pfp !== null) { if($S_pfp !== null) {
header("Content-Type: image"); header("Content-Type: image");
echo $S_pfp; echo $S_pfp;