X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FProfile.php;h=8bb519448e32d18a2fd179f7fe881b0668ab86c4;hb=8f9757aba5203c916aecce30c2a91ad6aabed5a9;hp=d4773a806233795bbe51ff42873e828ebaff01df;hpb=33a551235ede8fab43cc76876231c1ac706f9a17;p=friendica.git diff --git a/src/Model/Profile.php b/src/Model/Profile.php index d4773a8062..8bb519448e 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -152,7 +152,7 @@ class Profile $a->set_template_engine(); // reset the template engine to the default in case the user's theme doesn't specify one - $theme_info_file = 'view/theme/' . current_theme() . '/theme.php'; + $theme_info_file = 'view/theme/' . $a->getCurrentTheme() . '/theme.php'; if (file_exists($theme_info_file)) { require_once $theme_info_file; }