Fix text encoding

pull/3035/head
Julio Montoya 6 years ago
parent 67542dc9ac
commit fe95d15b23
  1. 3
      main/gradebook/lib/fe/flatviewtable.class.php

@ -191,7 +191,7 @@ class FlatViewTable extends SortableTable
if (is_array($header) && isset($header['header'])) { if (is_array($header) && isset($header['header'])) {
$header = $header['header']; $header = $header['header'];
} }
$header = strip_tags($header); $header = strip_tags(api_html_entity_decode($header));
$dataSet->setSerieDescription('Labels', $header); $dataSet->setSerieDescription('Labels', $header);
$dataSet->setAbscissa('Labels'); $dataSet->setAbscissa('Labels');
$dataSet->setAbscissaName(get_lang('GradebookSkillsRanking')); $dataSet->setAbscissaName(get_lang('GradebookSkillsRanking'));
@ -245,7 +245,6 @@ class FlatViewTable extends SortableTable
'FontSize' => 10, 'FontSize' => 10,
] ]
); );
/* Write the chart title */ /* Write the chart title */
$myPicture->drawText( $myPicture->drawText(
250, 250,

Loading…
Cancel
Save