Only show foreign items if the profile of the user isn't hidden. Show the user's theme - not the theme of the viewed profile.

This commit is contained in:
Michael Vogel 2014-08-28 01:06:41 +02:00
commit 4bdd905b3e
4 changed files with 31 additions and 25 deletions

View file

@ -1414,7 +1414,9 @@ if(! function_exists('profile_load')) {
$a->page['title'] = $a->profile['name'] . " @ " . $a->config['sitename'];
$_SESSION['theme'] = $a->profile['theme'];
if (!$profiledata)
$_SESSION['theme'] = $a->profile['theme'];
$_SESSION['mobile-theme'] = $a->profile['mobile-theme'];
/**