Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/Tracker/TableLogAction.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/Tracker/TableLogAction.php b/core/Tracker/TableLogAction.php
index 4308f042f8..fe620035d7 100644
--- a/core/Tracker/TableLogAction.php
+++ b/core/Tracker/TableLogAction.php
@@ -61,10 +61,7 @@ class TableLogAction
{
// now, we handle the cases =@ (contains) and !@ (does not contain)
// build the expression based on the match type
- $sql = 'SELECT MIN(idaction) AS idaction FROM ' . Common::prefixTable('log_action') . ' WHERE %s AND type = ' . $actionType . ' )'
- . ' GROUP BY name, hash, type'; // group by is to avoid possible case of duplicates in log_action table
- // (duplicates can exist if php tracker fails right after inserting a duplicate in
- // Tracker\Model::insertNewAction())
+ $sql = 'SELECT idaction FROM ' . Common::prefixTable('log_action') . ' WHERE %s AND type = ' . $actionType . ' )';
switch ($matchType) {
case '=@':