apparently it was a double OOPS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

This commit is contained in:
flash 2022-02-10 01:20:41 +01:00 committed by GitHub
parent 2a79184bdb
commit 64b4744352

View file

@ -194,7 +194,7 @@ if($isEditing) {
} catch(UserImageAssetInvalidDimensionsException $ex) { } catch(UserImageAssetInvalidDimensionsException $ex) {
$notices[] = sprintf('Your avatar can\'t be larger than %dx%d!', $avatarInfo->getMaxWidth(), $avatarInfo->getMaxHeight()); $notices[] = sprintf('Your avatar can\'t be larger than %dx%d!', $avatarInfo->getMaxWidth(), $avatarInfo->getMaxHeight());
} catch(UserImageAssetFileTooLargeException $ex) { } 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) { } catch(UserImageAssetException $ex) {
$notices[] = 'Unable to save your avatar, contact an administator!'; $notices[] = 'Unable to save your avatar, contact an administator!';
} }