mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
[ticket/16124] Search users who have never logged in for lt case only
PHPBB3-16124
This commit is contained in:
@@ -1073,11 +1073,11 @@ switch ($mode)
|
||||
|
||||
if ($active_time !== false)
|
||||
{
|
||||
if ((int) $active[0] == 0 && (int) $active[1] == 0 && (int) $active[2] == 0)
|
||||
if ($active_select === 'lt' && (int) $active[0] == 0 && (int) $active[1] == 0 && (int) $active[2] == 0)
|
||||
{
|
||||
$sql_where .= ' AND u.user_lastvisit = 0';
|
||||
}
|
||||
else if ($active_select != 'lt')
|
||||
else if ($active_select === 'gt')
|
||||
{
|
||||
$sql_where .= ' AND u.user_lastvisit ' . $find_key_match[$active_select] . ' ' . $active_time;
|
||||
}
|
||||
|
Reference in New Issue
Block a user