]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16125 "Improvement to Detailed Responses Report - Format of csv export" removing...
authorjamiesensei <jamiesensei>
Mon, 1 Sep 2008 08:24:25 +0000 (08:24 +0000)
committerjamiesensei <jamiesensei>
Mon, 1 Sep 2008 08:24:25 +0000 (08:24 +0000)
mod/quiz/report/responses/responses_table.php

index b410bfa0d6c915cd0dd65788038f6f06338e8059..7ae766873e505034db9980bbb3c0d9b7be44101b 100644 (file)
@@ -21,8 +21,6 @@ class quiz_report_responses_table extends table_sql {
     }
     function build_table(){
         if ($this->rawdata) {
-            // Define some things we need later to process raw data from db.
-            $this->strtimeformat = get_string('strftimedatetime');
             parent::build_table();
         }
     }
@@ -149,7 +147,7 @@ class quiz_report_responses_table extends table_sql {
             $questionid = $matches[1];
             $question = $this->questions[$questionid];
             $responses =  get_question_actual_response($question, $statesforattempt[$questionid]);
-            $response = (!empty($responses)? implode(', ',$responses) : '-');
+            $response = (!empty($responses)? implode('; ',$responses) : '-');
             $grade = $statesforattempt[$questionid]->last_graded->grade
                             / $this->questions[$questionid]->maxgrade;
             if (!$this->is_downloading()) {