X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fvier%2Fconfig.php;h=7c51b4ec95be31c7af31825fc362b18ced52104c;hb=92007a1438b8be0bef2c6d72c1e2cc288e7b23ff;hp=9f4fb0f93a1cc15a7e59b4a1f0412057779001d9;hpb=9f68676db6c3c94dffe0bbe6a1edb15de0436d96;p=friendica.git diff --git a/view/theme/vier/config.php b/view/theme/vier/config.php index 9f4fb0f93a..7c51b4ec95 100644 --- a/view/theme/vier/config.php +++ b/view/theme/vier/config.php @@ -9,6 +9,9 @@ function theme_content(&$a){ if(!local_user()) return; + if (!function_exists('get_vier_config')) + return; + $style = get_pconfig(local_user(), 'vier', 'style'); if ($style == "") @@ -45,6 +48,10 @@ function theme_post(&$a){ function theme_admin(&$a){ + + if (!function_exists('get_vier_config')) + return; + $style = get_config('vier', 'style'); $helperlist = get_config('vier', 'helperlist');