KQMATH / moodle-mod_capquiz

:mushroom: Computer adaptive practice activity module for Moodle
https://moodle.org/plugins/mod_capquiz
GNU General Public License v3.0
4 stars 5 forks source link

Wrong REFTABLE value for user_id in capquiz_attempt table #193

Closed andstor closed 3 years ago

andstor commented 3 years ago

The capquiz_attempt table has a field named user_id. In CAPQuiz, we are treating this as a the id for a capquiz_user. However, in the DB file, the REFTABLE value says user, meaning a Moodle user!

This needs to be fixed by updating the DB file and writing an upgrade script.