replace htmlentities() with htmlentities_utf8()
[acontent.git] / docs / tests / html / tests_questions.inc.php
index 3f2d275..b0badc5 100644 (file)
@@ -112,8 +112,8 @@ foreach ($cats as $cat) {
                        echo '<td>';\r
                        echo '<input type="checkbox" value="'.$row['question_id'].'|'.$row['type'].'" name="questions['.$cat['category_id'].'][]" id="q'.$row['question_id'].'" onmouseup="this.checked=!this.checked" /></td>';\r
                        echo '<td>';\r
-                       echo '<a title="'.htmlentities($row[question], ENT_QUOTES, 'UTF-8').'">';\r
-                       echo AT_print(htmlentities(Utility::validateLength($row['question'], 100, 1), ENT_QUOTES, 'UTF-8'), 'tests_questions.question');\r
+                       echo '<a title="'.htmlentities_utf8($row[question], ENT_QUOTES, 'UTF-8').'">';\r
+                       echo AT_print(htmlentities_utf8(Utility::validateLength($row['question'], 100, 1), ENT_QUOTES, 'UTF-8'), 'tests_questions.question');\r
                        echo '</a>';\r
                        echo '</td>';\r
                        echo '<td>';\r