Merge pull request #10930 from MrPetovan/bug/warnings

Fix path template variable structure in mod/fbrowser
This commit is contained in:
Michael Vogel 2021-10-25 06:12:56 +02:00 committed by GitHub
commit c7d59a1cd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'),