Changeset 4e93757 in iPeer


Ignore:
Timestamp:
2013-08-28T15:15:06-07:00 (4 years ago)
Author:
Compass <pan.luo@…>
Branches:
3.1.x, dev, master
Children:
4be4a74
Parents:
d8b9ff8
git-author:
mwytang <michael.tang@…> (07/08/2013 12:15:51 PM)
git-committer:
Compass <pan.luo@…> (08/28/2013 03:15:06 PM)
Message:

Fixed a bug in mixed evaluation's student's basic results view

The bug was a variable name typo, which has now been fixed. It was
supposed to be $typeId, but invalid variable $type was used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/views/elements/evaluations/mixeval_details.ctp

    rd8b9ff8 r4e93757  
    7272    foreach ($questions as $qnum => $ques) {
    7373        $typeId = $ques['mixeval_question_type_id'];
    74         if ($typeId == '1' || $type == '4') {
     74        if ($typeId == '1' || $typeId == '4') {
    7575            $required = (!$ques['required']) ? '' :
    7676                $html->tag('span', '*', array('class' => 'required orangered'));
Note: See TracChangeset for help on using the changeset viewer.