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:
4
boot.php
4
boot.php
@@ -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'];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user