From f4d49e561c0d74e74f310c0eebc3a4d15a9ac13f Mon Sep 17 00:00:00 2001 From: Marek Bachmann Date: Sat, 26 Nov 2022 21:44:41 +0100 Subject: [PATCH] fixed a forgotten debug output --- mod/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/photos.php b/mod/photos.php index 1738235276..c2f0b6291e 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -930,7 +930,7 @@ function photos_content(App $a) ($maximagesize_Mbytes = ($umf_bytes / (10 ** 6))) : ($maximagesize_Mbytes = ($mis_bytes / (10 ** 6))); } } - $usage_message = DI::l10n()->t('The maximum accepted image size is %.3g MB', Strings::getBytesFromShorthand(get_cfg_var('upload_max_filesize'))); + $usage_message = DI::l10n()->t('The maximum accepted image size is %.3g MB', $maximagesize_Mbytes); $tpl = Renderer::getMarkupTemplate('photos_upload.tpl'); -- 2.39.5