]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Profile.php
Merge pull request #4962 from astifter/fix_cropped_find_button
[friendica.git] / src / Model / Profile.php
index d4773a806233795bbe51ff42873e828ebaff01df..8bb519448e32d18a2fd179f7fe881b0668ab86c4 100644 (file)
@@ -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;
                }