Fix path template variable structure in mod/fbrowser
- Address https://github.com/friendica/friendica/issues/10757#issuecomment-950205848
This commit is contained in:
parent
bcd3cf0bc0
commit
98ab473361
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ function fbrowser_content(App $a)
|
||||||
$tpl = Renderer::getMarkupTemplate($template_file);
|
$tpl = Renderer::getMarkupTemplate($template_file);
|
||||||
$o = Renderer::replaceMacros($tpl, [
|
$o = Renderer::replaceMacros($tpl, [
|
||||||
'$type' => 'file',
|
'$type' => 'file',
|
||||||
'$path' => [ [ "", DI::l10n()->t("Files")] ],
|
'$path' => ['' => DI::l10n()->t('Files')],
|
||||||
'$folders' => false,
|
'$folders' => false,
|
||||||
'$files' => $files,
|
'$files' => $files,
|
||||||
'$cancel' => DI::l10n()->t('Cancel'),
|
'$cancel' => DI::l10n()->t('Cancel'),
|
||||||
|
|
Loading…
Reference in a new issue