From 98ab47336198e4dd87ef3f92cbf6fd6d1fcbd483 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 24 Oct 2021 23:07:24 -0400 Subject: [PATCH] Fix path template variable structure in mod/fbrowser - Address https://github.com/friendica/friendica/issues/10757#issuecomment-950205848 --- mod/fbrowser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'),