tmuras / Moodle-Flashcard

Moodle flashcard module
http://moodle.org/mod/data/view.php?d=13&rid=1539&filter=1
12 stars 9 forks source link

Failure to call setType() for parameters on "Edit the cards" tab #11

Open tbannister opened 11 years ago

tbannister commented 11 years ago

For Moodle 2.5, Moodle now requires a setType call on formslib fields. Each of fields on the Edit the cards tab displays a similar warning message when debugging is on:

Did you remember to call setType() for 'id'? Defaulting to PARAM_RAW cleaning.

line 1303 of /lib/formslib.php: call to debugging()
line 281 of /lib/formslib.php: call to moodleform->detectMissingSetType()
line 202 of /lib/formslib.php: call to moodleform->_process_submission()
line 33 of /mod/flashcard/editview.php: call to moodleform->moodleform()
line 187 of /mod/flashcard/view.php: call to include()
tbannister commented 11 years ago

The same warnings are also triggered on the Import tab.