Browse Source

Update identity.php

pull/2755/head
rabuzarus 4 years ago
committed by GitHub
parent
commit
aedd2cfa60
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      include/identity.php

+ 2
- 2
include/identity.php View File

@ -71,8 +71,8 @@ function profile_load(&$a, $nickname, $profile = 0, $profiledata = array()) {
$a->page['title'] = $a->profile['name'] . " @ " . $a->config['sitename'];
// if (!$profiledata)
// $_SESSION['theme'] = $a->profile['theme'];
if (!$profiledata && !get_pconfig(local_user(),'system','always_my_theme'))
$_SESSION['theme'] = $a->profile['theme'];
$_SESSION['mobile-theme'] = $a->profile['mobile-theme'];


Loading…
Cancel
Save