Browse Source

minor - show tags html into question description when is edited - partial CT#493

Cristian Fasanando 15 năm trước cách đây
mục cha
commit
2f63e67901
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main/survey/survey.lib.php

+ 1 - 1
main/survey/survey.lib.php

@@ -1381,7 +1381,7 @@ class question
 		$this->html .= '			<span class="form_required">*</span> '.get_lang('Question');
 		$this->html .= '		</div>';
 		$this->html .= '		<div class="formw">';
-		$this->html .= api_return_html_area('question', Security::remove_XSS(stripslashes($form_content['question'])), '', '', null, array('ToolbarSet' => 'Survey', 'Width' => '100%', 'Height' => '120'));
+		$this->html .= api_return_html_area('question', Security::remove_XSS(stripslashes($form_content['question']),STUDENT), '', '', null, array('ToolbarSet' => 'Survey', 'Width' => '100%', 'Height' => '120'));
 		$this->html .= '		</div>';
 		$this->html .= '	</div>';