Merge branch 'MDL-79514-402' of https://github.com/paulholden/moodle into MOODLE_402_STABLE

This commit is contained in:
Sara Arjona
2024-02-08 16:11:36 +08:00
committed by Andrew Nicols
+2
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