mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
bah
git-svn-id: file:///svn/phpbb/trunk@2763 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ab3480b2e1
commit
9407a604fa
1 changed files with 2 additions and 2 deletions
|
@ -1458,7 +1458,7 @@ function username_search()
|
|||
'S_SEARCH_ACTION' => "search.$phpEx$SID&mode=searchuser")
|
||||
);
|
||||
|
||||
$sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, user_email, user_session_time
|
||||
$sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, user_email, user_lastvisit
|
||||
FROM " . USERS_TABLE . "
|
||||
WHERE user_id <> " . ANONYMOUS . "
|
||||
$where_sql
|
||||
|
@ -1477,7 +1477,7 @@ function username_search()
|
|||
$from = ( !empty($row['user_from']) ) ? $row['user_from'] : ' ';
|
||||
$joined = create_date($lang['DATE_FORMAT'], $row['user_regdate'], $board_config['board_timezone']);
|
||||
$posts = ( $row['user_posts'] ) ? $row['user_posts'] : 0;
|
||||
$active = ( !$row['user_session_time'] ) ? $lang['Never'] : create_date($lang['DATE_FORMAT'], $row['user_session_time'], $board_config['board_timezone']);
|
||||
$active = ( !$row['user_session_time'] ) ? $lang['Never'] : create_date($lang['DATE_FORMAT'], $row['user_lastvisit'], $board_config['board_timezone']);
|
||||
|
||||
if ( $row['user_viewemail'] || $acl->get_acl_admin() )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue