Skip to content

Commit

Permalink
Include path for parent class preview_action_column.php.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch committed May 2, 2024
1 parent 911b120 commit d277eb3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions classes/question/bank/sq_preview_action.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
class_alias('\qbank_previewquestion\preview_action_column', '\qbank_previewquestion\preview_action');
}

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');
}

use qbank_previewquestion\preview_action_column;

/**
* A action type for preview link to mod_studentquiz_preview
*
Expand Down

0 comments on commit d277eb3

Please sign in to comment.