X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofile_photo.php;h=6607eebd0c1e1685f8d312b37c3adf7d65278760;hb=dcfcd6f906e9b7a10d4e733ff53879149c05e80a;hp=6ca7c4b6d4fbda6084c854d0b801897d30d5953e;hpb=6e7bd68ebb027b90398eee4fcc3bd73912a881e3;p=friendica.git diff --git a/mod/profile_photo.php b/mod/profile_photo.php index 6ca7c4b6d4..6607eebd0c 100644 --- a/mod/profile_photo.php +++ b/mod/profile_photo.php @@ -141,7 +141,7 @@ function profile_photo_post(&$a) { $maximagesize = get_config('system','maximagesize'); if(($maximagesize) && ($filesize > $maximagesize)) { - notice( sprintf(t('Image exceeds size limit of %d'), $maximagesize) . EOL); + notice( sprintf(t('Image exceeds size limit of %s'), formatBytes($maximagesize)) . EOL); @unlink($src); return; }