remove recommend block cache when necessary

This commit is contained in:
xiaomlove
2022-04-18 22:45:44 +08:00
parent 4b6850dba4
commit 204132746a
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ if (get_user_class() >= $userprofile_class || $user["id"] == $CURUSER["id"])
tr_small($lang_userdetails['row_ip_address'], $user['ip'].$locationinfo, 1);
}
$res = sql_query("SELECT agent, peer_id, ip, port FROM peers WHERE userid = {$user['id']} GROUP BY agent") or sqlerr();
$res = sql_query("SELECT agent, peer_id, ip, port FROM peers WHERE userid = {$user['id']} GROUP BY agent,ip") or sqlerr();
$clientselect = "";
if (mysql_num_rows($res) > 0)
{