aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2019-08-06 01:15:50 +0700
committerrxu <rxu@mail.ru>2019-08-06 01:15:50 +0700
commite8dcf27ee3f0c792ecc71c7375d553f7557cafd8 (patch)
treee6cac60d7f0454d109d33120c55f48d8af2c01d1
parent8339269919e29dd91c8525bdb3a91c4fea92dbab (diff)
downloadforums-e8dcf27ee3f0c792ecc71c7375d553f7557cafd8.tar
forums-e8dcf27ee3f0c792ecc71c7375d553f7557cafd8.tar.gz
forums-e8dcf27ee3f0c792ecc71c7375d553f7557cafd8.tar.bz2
forums-e8dcf27ee3f0c792ecc71c7375d553f7557cafd8.tar.xz
forums-e8dcf27ee3f0c792ecc71c7375d553f7557cafd8.zip
[ticket/16124] Search users who have never logged in for lt case only
PHPBB3-16124
-rw-r--r--phpBB/memberlist.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index 810af113b0..ce7159c150 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -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;
}