Fixed detections.

This commit is contained in:
flash 2025-02-09 00:28:28 +00:00
parent f39e1230c5
commit 7f7e644069
5 changed files with 6 additions and 18 deletions
public-legacy

View file

@ -78,7 +78,7 @@ $canEdit = !$viewingAsGuest && ((!$isBanned && $viewingOwnProfile) || $viewerInf
));
$avatarAsset = new UserAvatarAsset($userInfo);
$backgroundInfo = $msz->profileCtx->backgrounds->getProfileBackground($userInfo);
$backgroundAsset = new UserBackgroundAsset($userInfo, $backgroundInfo);
$backgroundAsset = new UserBackgroundAsset($userInfo);
$aboutInfo = $msz->profileCtx->about->getProfileAbout($userInfo);
$sigInfo = $msz->forumCtx->signatures->getSignature($userInfo);
@ -298,7 +298,7 @@ if($isEditing) {
}
}
$backgroundAsset = new UserBackgroundAsset($userInfo, $backgroundInfo);
$backgroundAsset = new UserBackgroundAsset($userInfo);
}
}