spelling: uploaded

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-03-22 00:08:44 -04:00
parent 1ebeae1420
commit 1bd6cfa2f3

View file

@ -181,7 +181,7 @@ class Crop extends BaseSettings
$havescale = $havescale || $photo['scale'] == 5;
}
// set an already uloaded photo as profile photo
// set an already uploaded photo as profile photo
// if photo is in 'Profile Photos', change it in db
if ($photos[0]['photo-type'] == Photo::USER_AVATAR && $havescale) {
Photo::update(['profile' => false], ['uid' => DI::userSession()->getLocalUserId()]);