MDL-34050 Lesson module: Fixed undefined variable for $qtype