]> git.mxchange.org Git - friendica.git/blobdiff - mod/wall_upload.php
formatBytes calls
[friendica.git] / mod / wall_upload.php
index c093d28e3a7f427c5e5f5d85a0cd0af4ba2937c1..0322c6606654c6cc1b7d510f2be85d683004a58a 100644 (file)
@@ -194,7 +194,7 @@ function wall_upload_post(App $a, $desktopmode = true)
        $maximagesize = Config::get('system', 'maximagesize');
 
        if (($maximagesize) && ($filesize > $maximagesize)) {
-               $msg = L10n::t('Image exceeds size limit of %s', formatBytes($maximagesize));
+               $msg = L10n::t('Image exceeds size limit of %s', Strings::formatBytes($maximagesize));
                if ($r_json) {
                        echo json_encode(['error' => $msg]);
                } else {