]> git.mxchange.org Git - friendica.git/commitdiff
fixed a forgotten debug output
authorMarek Bachmann <marek.bachmann@comtec.eecs.uni-kassel.de>
Sat, 26 Nov 2022 20:44:41 +0000 (21:44 +0100)
committerMarek Bachmann <marek.bachmann@comtec.eecs.uni-kassel.de>
Sat, 26 Nov 2022 20:44:41 +0000 (21:44 +0100)
mod/photos.php

index 173823527673109743c8428a6b3828660e002b6f..c2f0b6291e5d4ee4d6f1e6b69580e5174931a42c 100644 (file)
@@ -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');