From 64b4744352f048fae315e848474159ca6ecf923c Mon Sep 17 00:00:00 2001 From: flashwave Date: Thu, 10 Feb 2022 01:20:41 +0100 Subject: [PATCH] apparently it was a double OOPS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- public/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/profile.php b/public/profile.php index bec246b6..fb6a297f 100644 --- a/public/profile.php +++ b/public/profile.php @@ -194,7 +194,7 @@ if($isEditing) { } catch(UserImageAssetInvalidDimensionsException $ex) { $notices[] = sprintf('Your avatar can\'t be larger than %dx%d!', $avatarInfo->getMaxWidth(), $avatarInfo->getMaxHeight()); } catch(UserImageAssetFileTooLargeException $ex) { - $notices[] = sprintf('Your avatar is not allowed to be larger in file size than %2$s!', byte_symbol($avatarInfo->getMaxBytes(), true)); + $notices[] = sprintf('Your avatar is not allowed to be larger in file size than %s!', byte_symbol($avatarInfo->getMaxBytes(), true)); } catch(UserImageAssetException $ex) { $notices[] = 'Unable to save your avatar, contact an administator!'; }