Update identity.php

This commit is contained in:
rabuzarus 2016-08-31 13:49:24 +02:00 committed by GitHub
parent 1519ac3bf4
commit aedd2cfa60

View file

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