This commit is contained in:
Sara Arjona 2024-02-07 12:12:07 +01:00 committed by Andrew Nicols
commit 5c69b393df
No known key found for this signature in database
GPG Key ID: 6D1E3157C8CFBF14

View File

@ -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