"getUserNickname" is now "getLoggedInUserNickname"
This commit is contained in:
parent
27177f19c9
commit
15b93b4459
27 changed files with 45 additions and 45 deletions
|
@ -277,8 +277,8 @@ class Page implements ArrayAccess
|
|||
// If you're just visiting, let javascript take you home
|
||||
if (!empty($_SESSION['visitor_home'])) {
|
||||
$homebase = $_SESSION['visitor_home'];
|
||||
} elseif (!empty($app->getUserNickname())) {
|
||||
$homebase = 'profile/' . $app->getUserNickname();
|
||||
} elseif (!empty($app->getLoggedInUserNickname())) {
|
||||
$homebase = 'profile/' . $app->getLoggedInUserNickname();
|
||||
}
|
||||
|
||||
if (isset($homebase)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue