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:
parent
4ad2bbddc7
commit
4bdd905b3e
4 changed files with 31 additions and 25 deletions
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'];
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue