summaryrefslogtreecommitdiff
path: root/app/Template/analytic/avg_time_columns.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/analytic/avg_time_columns.php')
-rw-r--r--app/Template/analytic/avg_time_columns.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/analytic/avg_time_columns.php b/app/Template/analytic/avg_time_columns.php
index e74e7950..7b9d7cf9 100644
--- a/app/Template/analytic/avg_time_columns.php
+++ b/app/Template/analytic/avg_time_columns.php
@@ -7,7 +7,7 @@
<?php else: ?>
<section id="analytic-avg-time-column">
- <div id="chart" data-metrics='<?= json_encode($metrics) ?>' data-label="<?= t('Average time spent') ?>"></div>
+ <div id="chart" data-metrics='<?= json_encode($metrics, JSON_HEX_APOS) ?>' data-label="<?= t('Average time spent') ?>"></div>
<table class="table-stripped">
<tr>