aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-07-02 10:09:05 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-07-02 10:09:05 +0000
commit45a1efb2551059af2d8fe89070b0f70411f4dccc (patch)
tree1e8ad9f532157cd01c975afbf025e38c66a58808 /phpBB/search.php
parentallow mod authors to plug in info_ language files for population within the m... (diff)
downloadphpbb-45a1efb2551059af2d8fe89070b0f70411f4dccc.tar.gz
phpbb-45a1efb2551059af2d8fe89070b0f70411f4dccc.tar.bz2
phpbb-45a1efb2551059af2d8fe89070b0f70411f4dccc.zip
#12941
git-svn-id: file:///svn/phpbb/trunk@7820 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php5
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