Fix getting the context. It did not work during question preview from the question bank when there was no quiz in sight.
Fix getting the context. It did not work during question preview from the question bank when there was no quiz in sight.

dilawar/moodle