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/ImageGraph')
-rw-r--r--plugins/ImageGraph/StaticGraph/GridGraph.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/ImageGraph/StaticGraph/GridGraph.php b/plugins/ImageGraph/StaticGraph/GridGraph.php
index 5ddb2cb40e..9a95577892 100644
--- a/plugins/ImageGraph/StaticGraph/GridGraph.php
+++ b/plugins/ImageGraph/StaticGraph/GridGraph.php
@@ -140,7 +140,9 @@ abstract class GridGraph extends StaticGraph
// rounding top scale value to the next multiple of 10
if ($maxOrdinateValue > 10) {
$modTen = $maxOrdinateValue % 10;
- if ($modTen) $maxOrdinateValue += 10 - $modTen;
+ if ($modTen) {
+ $maxOrdinateValue += 10 - $modTen;
+ }
}
$gridColor = $this->gridColor;