1
0
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:
rxu
2019-08-06 01:15:50 +07:00
parent 8339269919
commit e8dcf27ee3

View File

@@ -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;
}