Solving one SQL error in data_get_participants() plus some improved readability.
Solving one SQL error in data_get_participants()
plus some improved readability.

Merged from MOODLE_16_STABLE

dilawar/moodle