diff --git a/src/App.php b/src/App.php index c00f898f34..3761004575 100644 --- a/src/App.php +++ b/src/App.php @@ -857,7 +857,7 @@ class App if (!empty($_SESSION['visitor_home'])) { $homebase = $_SESSION['visitor_home']; } elseif (local_user()) { - $homebase = 'profile/' . $a->user['nickname']; + $homebase = 'profile/' . $this->user['nickname']; } if (isset($homebase)) {