MDL-34532 quiz reports: error when showing users without attempts.
MDL-34532 quiz reports: error when showing users without attempts.

We were not checking if attempt state was null before trying to convert it to a string.

dilawar/moodle