diff options
Diffstat (limited to 'phpBB/search.php')
-rw-r--r-- | phpBB/search.php | 5 |
1 files changed, 5 insertions, 0 deletions
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 |