apparently it was a double OOPS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This commit is contained in:
parent
2a79184bdb
commit
64b4744352
1 changed files with 1 additions and 1 deletions
|
@ -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!';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue