Skip to content
Snippets Groups Projects
Commit 8a02ce87 authored by Edmund Farrow's avatar Edmund Farrow
Browse files

iss1217 - Add question description to question loader

parent fa01accb
Branches
No related tags found
No related merge requests found
......@@ -77,6 +77,8 @@ class StackQuestionLoader {
$question->questionnote = (string) $xmldata->question->questionnote->text;
$question->specificfeedback = (string) $xmldata->question->specificfeedback->text;
$question->specificfeedbackformat = (string) $xmldata->question->specificfeedback['format'];
$question->questiondescription = (string) $xmldata->question->questiondescription;
$question->questiondescriptionformat = (string) $xmldata->question->questiondescription['format'];
if (isset($xmldata->question->prtcorrect->text)) {
$question->prtcorrect = (string) $xmldata->question->prtcorrect->text;
$question->prtcorrectformat = (string) $xmldata->question->prtcorrect['format'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment