Skip to content
Extraits de code Groupes Projets
Valider d1e80dc0 rédigé par Matthieu Aubry's avatar Matthieu Aubry Validation de GitHub
Parcourir les fichiers

Prevent out of range issues for interaction_position (#11101)

parent 7dc4f49a
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -74,7 +74,10 @@ class VisitTotalInteractions extends VisitDimension ...@@ -74,7 +74,10 @@ class VisitTotalInteractions extends VisitDimension
{ {
$position = $request->getMetadata('Actions', 'visit_total_interactions'); $position = $request->getMetadata('Actions', 'visit_total_interactions');
return $position + 1; $position = $position + 1;
// Remove this in Piwik 4
return min($position, 32765);
} }
/** /**
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter