X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fvier%2Ftheme.php;h=e5d71bdf578545b13157a9f926f8c79de81b6a06;hb=HEAD;hp=3e4a837cd0d74e7db2f69d2443e4ae10d912aa38;hpb=ed768c71eefd2296d12adcc69f8e70fcf20c18c8;p=friendica.git diff --git a/view/theme/vier/theme.php b/view/theme/vier/theme.php index 3e4a837cd0..e5d71bdf57 100644 --- a/view/theme/vier/theme.php +++ b/view/theme/vier/theme.php @@ -29,7 +29,7 @@ function vier_init(App $a) Renderer::setActiveTemplateEngine('smarty3'); - if (!empty($a->argv[0]) && $a->argv[0] . defaults($a->argv, 1, '') === "profile".$a->user['nickname'] || $a->argv[0] === "network" && local_user()) { + if (!empty($a->argv[0]) && ($a->argv[0] . ($a->argv[1] ?? '')) === ('profile' . $a->user['nickname']) || $a->argv[0] === 'network' && local_user()) { vier_community_info(); $a->page['htmlhead'] .= "\n"; @@ -45,29 +45,6 @@ function vier_init(App $a) $a->page['htmlhead'] .= <<< EOT