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:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-02-02 19:10:30 +0300
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-02-02 19:10:30 +0300
commit3b85cb0381004385ecb3347a541d63344ed46add (patch)
tree9b0cfe51484dc1a54a9b2af87dd2b0f62f4f42d8 /plugins/Goals
parentc05f3980bb8500064c8d369f0388ffa66dd425b4 (diff)
fixes #1137 - empty sparkline with floats
* Visualization/Sparkline.php: back out our SetYMax(+.5) hack and upcase function name. * Goals/Goals.php: refactoring * libs/sparkline * update license files to reflect dual licensing * fix clipping issue, ref: https://sourceforge.net/support/tracker.php?aid=2842183 * fix Y range calculation, ref: https://sourceforge.net/support/tracker.php?aid=2944691
Diffstat (limited to 'plugins/Goals')
-rw-r--r--plugins/Goals/Goals.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Goals/Goals.php b/plugins/Goals/Goals.php
index defc32bf35..bce6f1a4ae 100644
--- a/plugins/Goals/Goals.php
+++ b/plugins/Goals/Goals.php
@@ -187,7 +187,7 @@ class Piwik_Goals extends Piwik_Plugin
// Stats for all goals
$totalAllGoals = array(
- self::getRecordName('conversion_rate') => round(100 * $archiveProcessing->getNumberOfVisitsConverted() / $archiveProcessing->getNumberOfVisits(), self::ROUNDING_PRECISION),
+ self::getRecordName('conversion_rate') => $this->getConversionRate($archiveProcessing->getNumberOfVisitsConverted(), $archiveProcessing),
self::getRecordName('nb_conversions') => $nb_conversions,
self::getRecordName('revenue') => $revenue,
);