From 2779cc7d89f03cee1dfbb02cec4b9a61057e153d Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Mon, 27 Jun 2011 13:43:11 +0100 Subject: [PATCH] MDL-28033 Fatal error upgrading form 1.9 to 2.1 due to missing include. --- question/type/random/questiontype.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/question/type/random/questiontype.php b/question/type/random/questiontype.php index 203dffc69b3..95bb810da11 100644 --- a/question/type/random/questiontype.php +++ b/question/type/random/questiontype.php @@ -26,6 +26,8 @@ defined('MOODLE_INTERNAL') || die(); +require_once($CFG->dirroot . '/question/type/questiontypebase.php'); + /** * The random question type.