From 332d68c7ec89bbc39ee89fa76d2e2ee899a15ef8 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Tue, 10 Sep 2013 11:08:57 +0200 Subject: [PATCH] [-] MO : Statsdata, exception on duplicate entry --- classes/Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Connection.php b/classes/Connection.php index 4b171b1f0..23514695b 100644 --- a/classes/Connection.php +++ b/classes/Connection.php @@ -97,7 +97,7 @@ class ConnectionCore extends ObjectModel 'id_connections' => (int)$cookie->id_connections, 'id_page' => (int)$id_page, 'time_start' => $time_start - )); + ), false, true, Db::INSERT_IGNORE); // This array is serialized and used by the ajax request to identify the page return array(