diff --git a/actions/all.php b/actions/all.php index 2b83127f72ad5025506b399e4dec4779de084b50..a987ebbadbc135aaa1b9af5b1f00a26b5182c736 100644 --- a/actions/all.php +++ b/actions/all.php @@ -85,7 +85,7 @@ class AllAction extends ProfileAction function title() { $user = common_current_user(); - if ($user->id == $this->user->id) { + if (!empty($user) && $user->id == $this->user->id) { // TRANS: Title of a user's own start page. return _('Home timeline'); } else {