middlebury/moodle-mod_adaptivequiz — pull request #23 by timgus (2014-06-05 20:44:13+00:00)
Title: Added fix for upgrade error and added setType for form elements.

I got the following error message when upgrading with the latest code:

```
Unknown error upgrading mod_adaptivequiz to version 2014050800, can not continue.
```
The file db/upgrade.php expects the standard *return true* statement at the end of the upgrade function. That fixes it.

Also I've added a fix for a notice message when developer debugging is enabled in Moodle that *setType* must be set on a form element.