File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2109,7 +2109,7 @@ private function send_submission_notifications($rid) {
21092109 $ info ->name = format_string ($ this ->name );
21102110 $ info ->submissionurl = $ CFG ->wwwroot .'/mod/questionnaire/report.php?action=vresp&sid= ' .$ this ->survey ->id .
21112111 '&rid= ' .$ rid .'&instance= ' .$ this ->id ;
2112- $ info ->coursename = $ this ->course ->fullname ;
2112+ $ info ->coursename = format_string ( $ this ->course ->fullname ) ;
21132113
21142114 $ info ->postsubject = get_string ('submissionnotificationsubject ' , 'questionnaire ' );
21152115 $ info ->posttext = get_string ($ langstringtext , 'questionnaire ' , $ info );
@@ -2214,8 +2214,8 @@ private function get_full_submission_for_notifications($rid) {
22142214 $ responses = $ this ->get_full_submission_for_export ($ rid );
22152215 $ message = '' ;
22162216 foreach ($ responses as $ response ) {
2217- $ message .= html_to_text ($ response ->questionname ) . "<br /> \n" ;
2218- $ message .= get_string ('question ' ) . ': ' . html_to_text ($ response ->questiontext ) . "<br /> \n" ;
2217+ $ message .= html_to_text (format_string ( $ response ->questionname ) ) . "<br /> \n" ;
2218+ $ message .= get_string ('question ' ) . ': ' . html_to_text (format_string ( $ response ->questiontext ) ) . "<br /> \n" ;
22192219 $ message .= get_string ('answers ' , 'questionnaire ' ) . ":<br /> \n" ;
22202220 foreach ($ response ->answers as $ answer ) {
22212221 $ message .= html_to_text ($ answer ) . "<br /> \n" ;
You can’t perform that action at this time.
0 commit comments