I needed to place this execute for update on the modedit.php inside course because save_setting on my rule class did not want to reflect the update. Now Im having the problem that if the user enters the quiz settings form again a does not enter any information on the 'minimumgrade' text box when the save button is pressed the information on the DB change back to 0. How I can prevent this from happenig?
General developer forum
Save information - quiz access rule
This discussion has been locked so you can no longer reply to it.