summaryrefslogtreecommitdiff
path: root/statisticsplot.php
diff options
context:
space:
mode:
Diffstat (limited to 'statisticsplot.php')
-rw-r--r--statisticsplot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/statisticsplot.php b/statisticsplot.php
index 741f23d510..4b7cbb4b86 100644
--- a/statisticsplot.php
+++ b/statisticsplot.php
@@ -684,7 +684,7 @@ function my_plot($chart_title, $xdata, $xtitle, $ydata, $ytitle, $legend) {
$imgurl .= rawurlencode($data);
}
}
- echo '<img src="', $imgurl, '" width="950" height="300" alt="', Filter::escapeHtml($chart_title), '">';
+ echo '<img src="', $imgurl, '" width="950" height="300" alt="', Html::escape($chart_title), '">';
}
/**