diff options
author | Nils Adermann <naderman@naderman.de> | 2007-06-19 12:36:07 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2007-06-19 12:36:07 +0000 |
commit | 66c7e56427f8ae2a7230acccec14788980bc9309 (patch) | |
tree | 2087e413008c2f10984b6a72bca6792cf665ab74 /phpBB/search.php | |
parent | #12545 (diff) | |
download | phpbb-66c7e56427f8ae2a7230acccec14788980bc9309.tar.gz phpbb-66c7e56427f8ae2a7230acccec14788980bc9309.tar.bz2 phpbb-66c7e56427f8ae2a7230acccec14788980bc9309.zip |
- author search should take UTF-8 [Bug #11793]
git-svn-id: file:///svn/phpbb/trunk@7780 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
-rw-r--r-- | phpBB/search.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index 4b2563dbe5..487411d613 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -32,7 +32,7 @@ $view = request_var('view', ''); $submit = request_var('submit', false); $keywords = request_var('keywords', '', true); $add_keywords = request_var('add_keywords', '', true); -$author = request_var('author', ''); +$author = request_var('author', '', true); $author_id = request_var('author_id', 0); $show_results = ($topic_id) ? 'posts' : request_var('sr', 'posts'); $show_results = ($show_results == 'posts') ? 'posts' : 'topics'; @@ -84,7 +84,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) // egosearch is an author search if ($search_id == 'egosearch') { - $author = $user->data['username']; + $author_id = $user->data['user_id']; } // If we are looking for authors get their ids |