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:
Diffstat (limited to 'plugins/Goals/Columns/BaseConversion.php')
-rw-r--r--plugins/Goals/Columns/BaseConversion.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/Goals/Columns/BaseConversion.php b/plugins/Goals/Columns/BaseConversion.php
index d2c3e24dd7..7d9bf6bc9d 100644
--- a/plugins/Goals/Columns/BaseConversion.php
+++ b/plugins/Goals/Columns/BaseConversion.php
@@ -8,6 +8,7 @@
*/
namespace Piwik\Plugins\Goals\Columns;
+use Piwik\Common;
use Piwik\Plugin\Dimension\ConversionDimension;
use Piwik\Tracker\GoalManager;
@@ -29,6 +30,8 @@ abstract class BaseConversion extends ConversionDimension
return $revenue;
}
- return round($revenue, GoalManager::REVENUE_PRECISION);
+ $value = round($revenue, GoalManager::REVENUE_PRECISION);
+
+ return $value;
}
} \ No newline at end of file