diff --git a/mod/feedback/lib.php b/mod/feedback/lib.php index 86b9065c969..9c5215c2f2b 100644 --- a/mod/feedback/lib.php +++ b/mod/feedback/lib.php @@ -1459,6 +1459,8 @@ function feedback_get_template_list($course, $onlyownorpublic = '') { function feedback_get_item_class($typ) { global $CFG; + require_once($CFG->dirroot.'/mod/feedback/item/feedback_item_class.php'); + //get the class of item-typ $itemclass = 'feedback_item_'.$typ; //get the instance of item-class