X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fphp%2Fdefault.php;h=b9600cc22e3b991f84d882ed2b519a8e1feef641;hb=0a284edde7580b2d127b1fc764067a785e88252c;hp=ce7fd4d777ef39539aee13839b1041a79348fcac;hpb=3a9db3f6373330902a5efe42eb8790c240fba580;p=friendica.git diff --git a/view/theme/frio/php/default.php b/view/theme/frio/php/default.php index ce7fd4d777..b9600cc22e 100644 --- a/view/theme/frio/php/default.php +++ b/view/theme/frio/php/default.php @@ -42,10 +42,7 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser"; // Add the theme color meta // It makes mobile Chrome UI match Frio's top bar color. - $uid = $a->profile_uid; - if (is_null($uid)) { - $uid = Profile::getThemeUid(); - } + $uid = Profile::getThemeUid($a); $scheme = PConfig::get($uid, 'frio', 'scheme', PConfig::get($uid, 'frio', 'schema')); if ($scheme && ($scheme != '---')) { if (file_exists('view/theme/frio/scheme/' . $scheme . '.php')) {