mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/16124] Search users who have never logged in for lt case only
PHPBB3-16124
This commit is contained in:
parent
8339269919
commit
e8dcf27ee3
1 changed files with 2 additions and 2 deletions
|
@ -1073,11 +1073,11 @@ switch ($mode)
|
||||||
|
|
||||||
if ($active_time !== false)
|
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';
|
$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;
|
$sql_where .= ' AND u.user_lastvisit ' . $find_key_match[$active_select] . ' ' . $active_time;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue