From fe0313c657b8914c1522013f10a6b39dcafbddc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Mon, 20 Nov 2023 18:47:06 +0100 Subject: [PATCH] Include path for parent class preview_action_column.php. --- classes/question/bank/preview_column.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/classes/question/bank/preview_column.php b/classes/question/bank/preview_column.php index 43a97d98..527511f8 100644 --- a/classes/question/bank/preview_column.php +++ b/classes/question/bank/preview_column.php @@ -16,6 +16,12 @@ namespace mod_studentquiz\bank; +defined('MOODLE_INTERNAL') || die(); + +if (file_exists($CFG->dirroot.'/mod/quiz/classes/question/bank/preview_action_column.php')) { + require_once($CFG->dirroot.'/mod/quiz/classes/question/bank/preview_action_column.php'); +} + /** * A column type for preview link to mod_studentquiz_preview *