Quiz

 
 
Picture of Stéphane Goussault
Update a cloze format question
 
Hello,

Since I upgraded to the version 1.5+, I  can't update  a cloze question
When I open the question and modify something and then save the change, I've the following message:
Could not update question !

Did you notice that ?
Thanks

Stephane
 
Average of ratings: -
Picture of Stéphane Goussault
Re: Update a cloze format question
 
Hello,

I think the problem come from the apostrophe (  ) in the questions.

Stephane

 
Average of ratings: -
Picture of Julian Sedding
Re: Update a cloze format question
 
Hi Stéphane,

no, I hadn't noticed that, but you're perfectly right! I missed an 'addslashes' in one place. The fixed version is now in CVS for moodle 1.5.

Thanks for reporting this bug!

Julian
 
Average of ratings: -