From: Hypolite Petovan Date: Mon, 25 Oct 2021 03:07:24 +0000 (-0400) Subject: Fix path template variable structure in mod/fbrowser X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=98ab47336198e4dd87ef3f92cbf6fd6d1fcbd483;p=friendica.git Fix path template variable structure in mod/fbrowser - Address https://github.com/friendica/friendica/issues/10757#issuecomment-950205848 --- diff --git a/mod/fbrowser.php b/mod/fbrowser.php index b9f9b4c7f6..9bd7793e42 100644 --- a/mod/fbrowser.php +++ b/mod/fbrowser.php @@ -121,7 +121,7 @@ function fbrowser_content(App $a) $tpl = Renderer::getMarkupTemplate($template_file); $o = Renderer::replaceMacros($tpl, [ '$type' => 'file', - '$path' => [ [ "", DI::l10n()->t("Files")] ], + '$path' => ['' => DI::l10n()->t('Files')], '$folders' => false, '$files' => $files, '$cancel' => DI::l10n()->t('Cancel'),