diff --git a/admin/conditions.php b/admin/conditions.php index 573498d477b..debef043786 100644 --- a/admin/conditions.php +++ b/admin/conditions.php @@ -273,7 +273,7 @@ foreach($theserows as $rows) { if (strlen($rows['question']) > 30) {$shortquestion=$rows['title'].": ".substr(strip_tags($rows['question']), 0, 30).".. ";} - else {$shortquestion=$rows['title'].": ".$rows['question'];} + else {$shortquestion=$rows['title'].": ".strip_tags($rows['question']);} if ($rows['type'] == "A" || $rows['type'] == "B" || $rows['type'] == "C" || $rows['type'] == "E" || $rows['type'] == "F" || $rows['type'] == "H") { $aquery="SELECT * FROM {$dbprefix}answers WHERE qid={$rows['qid']} ORDER BY sortorder, answer";