Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'MDL-27675_master' of git://github.com/grabs/moodle
[moodle.git]
/
mod
/
feedback
/
item
/
multichoicerated
/
lib.php
diff --git
a/mod/feedback/item/multichoicerated/lib.php
b/mod/feedback/item/multichoicerated/lib.php
index
031f7b8
..
ca43a44
100644
(file)
--- a/
mod/feedback/item/multichoicerated/lib.php
+++ b/
mod/feedback/item/multichoicerated/lib.php
@@
-678,4
+678,11
@@
class feedback_item_multichoicerated extends feedback_item_base {
return true;
}
+ public function value_type() {
+ return PARAM_INT;
+ }
+
+ public function clean_input_value($value) {
+ return clean_param($value, $this->value_type());
+ }
}