Skip to content

Commit

Permalink
Fixed issue #7684: HTML entities visible in statistics graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Apr 19, 2013
1 parent 680c92e commit e512a8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/helpers/admin/statistics_helper.php
Expand Up @@ -242,13 +242,13 @@ function createChart($iQuestionID, $iSurveyID, $type=null, $lbl, $gdata, $grawda
elseif (getLanguageRTL($language))
{
foreach($lbl as $kkey => $kval){
$lblout[]= UTF8Strrev($kkey.' )'.$kval.'(');
$lblout[]= UTF8Strrev(html_entity_decode($kkey,null,'UTF-8').' )'.$kval.'(');
}
}
else
{
foreach($lbl as $kkey => $kval){
$lblout[]= $kkey.' ('.$kval.')';
$lblout[]= html_entity_decode($kkey,null,'UTF-8').' ('.$kval.')';
}
}

Expand Down

0 comments on commit e512a8e

Please sign in to comment.