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.