X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fvier%2Fconfig.php;h=7c51b4ec95be31c7af31825fc362b18ced52104c;hb=0a5297970bc3c8e5dbcbadeb3463c2950ca40eef;hp=9f4fb0f93a1cc15a7e59b4a1f0412057779001d9;hpb=1d71dde7ef40736cd98cf96b9afb4fb5e7e713f3;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');