]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile_photo.php
Poco: added caching
[friendica.git] / mod / profile_photo.php
index 6ca7c4b6d4fbda6084c854d0b801897d30d5953e..6607eebd0c1e1685f8d312b37c3adf7d65278760 100644 (file)
@@ -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;
        }