From 45a1efb2551059af2d8fe89070b0f70411f4dccc Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Mon, 2 Jul 2007 10:09:05 +0000 Subject: #12941 git-svn-id: file:///svn/phpbb/trunk@7820 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/search.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/search.php') diff --git a/phpBB/search.php b/phpBB/search.php index cbc5b6732f..0693b32569 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -85,6 +85,11 @@ if ($keywords || $author || $author_id || $search_id || $submit) if ($search_id == 'egosearch') { $author_id = $user->data['user_id']; + + if ($user->data['user_id'] == ANONYMOUS) + { + login_box('', $user->lang['LOGIN_EXPLAIN_EGOSEARCH']); + } } // If we are looking for authors get their ids -- cgit v1.2.1