From 1bd6cfa2f3b8737660330849fa23703897cd4108 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 22 Mar 2023 00:08:44 -0400 Subject: [PATCH] spelling: uploaded Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/Module/Settings/Profile/Photo/Crop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Settings/Profile/Photo/Crop.php b/src/Module/Settings/Profile/Photo/Crop.php index b08071915..2929e16da 100644 --- a/src/Module/Settings/Profile/Photo/Crop.php +++ b/src/Module/Settings/Profile/Photo/Crop.php @@ -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()]);