MDL-66796 mod_quiz: only update the id number if changed
authorJake Dallimore <jake@moodle.com>
Mon, 14 Oct 2019 03:47:57 +0000 (11:47 +0800)
committerJake Dallimore <jake@moodle.com>
Mon, 14 Oct 2019 05:38:20 +0000 (13:38 +0800)
commitf79a9744357f894c8694db9ff8a257698770d664
tree7c23bb24a51b7bfa504cce659d28ff8702f0998c
parente7ac8db8a11391ff1cfb65e0e8f4c80b33303e20
MDL-66796 mod_quiz: only update the id number if changed

If the idnumber is present in the DB, it's set to null. In this case,
don't update the value.
question/category_class.php