Issue #2368397 by esod, djdevin: Fixed non-object notice in quiz_quiz_result_load().