Feedback 1.9 fails to remove slashes when editing questions

Feedback 1.9 fails to remove slashes when editing questions

by Kenneth Newquist -
Number of replies: 2
When you edit a question in Feedback under Moodle 1.9, the backslashes used to escape quotes and apostrophes in the database are not being stripped out by the module. As a result, the slashes show up when you're editing the question, and are saved to the database when you save the question.

To recreate the problem:

1. Create a Feedback.
2. Add a question with a quote or apostrophe in it.
3. Save the question.
4. Edit the question. The backslash should appear.
5. Save the question. The backslash is saved to the database.

I added a report and proposed patch to tracker for this problem:

http://tracker.moodle.org/browse/MDL-15331

Ken
Average of ratings: -