From 8ff0f36077b044d2c406aedb212ea267b7aca545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=B3na=20Lore?= Date: Sat, 9 Dec 2017 21:10:33 +0100 Subject: [PATCH] Possible fix for issue #2860. --- e107_core/sql/core_sql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_core/sql/core_sql.php b/e107_core/sql/core_sql.php index f08c699ae..79d28596d 100755 --- a/e107_core/sql/core_sql.php +++ b/e107_core/sql/core_sql.php @@ -365,7 +365,7 @@ CREATE TABLE online ( online_agent varchar(255) NOT NULL default '', online_language varchar(2) NOT NULL default '', KEY online_ip (online_ip), - KEY online_user_id (online_user_id), + KEY online_ip_user_id (online_ip, online_user_id), KEY online_timestamp (online_timestamp) ) ENGINE=InnoDB; # --------------------------------------------------------