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

Format % values for plugin's metrics, cherry pick...

Format % values for plugin's metrics, cherry pick https://github.com/piwik/piwik/commit/d4d87dbfe90a4e6502dfc57ee6bfe61b67435b7c
parent 46e930fd
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -790,10 +790,10 @@ class ProcessedReport ...@@ -790,10 +790,10 @@ class ProcessedReport
// Add % symbol to rates // Add % symbol to rates
if (strpos($columnName, '_rate') !== false) { if (strpos($columnName, '_rate') !== false) {
if (strpos($value, "%") === false) { if (strpos($value, "%") === false) {
return $value . "%"; return (100 * $value) . "%";
} }
} }
return $value; return $value;
} }
} }
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter