X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fvier%2Ftheme.php;h=bd7ccf0086255e7f2d8b500cf9897f9698ac2de5;hb=36c6e35c7ed45ef6b18d48359b38f9c869f63245;hp=b99433f81b3de12d1ed0f94ee86eb0397a581705;hpb=7211fc4f1ac33819ed0543ac65f9a075250c3190;p=friendica.git diff --git a/view/theme/vier/theme.php b/view/theme/vier/theme.php index b99433f81b..bd7ccf0086 100644 --- a/view/theme/vier/theme.php +++ b/view/theme/vier/theme.php @@ -29,12 +29,10 @@ function vier_init(App $a) $a->set_template_engine('smarty3'); - if (!empty($a->argv[0]) && !empty($a->argv[1])) { - if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname'] || $a->argv[0] === "network" && local_user()) { - vier_community_info(); + if (!empty($a->argv[0]) && $a->argv[0] . defaults($a->argv, 1, '') === "profile".$a->user['nickname'] || $a->argv[0] === "network" && local_user()) { + vier_community_info(); - $a->page['htmlhead'] .= "\n"; - } + $a->page['htmlhead'] .= "\n"; } if ($a->is_mobile || $a->is_tablet) {