MDL-37834 assign: avoid newlines in status column of csv
authorDan Poltawski <dan@moodle.com>
Wed, 18 Nov 2015 16:45:31 +0000 (16:45 +0000)
committerDan Poltawski <dan@moodle.com>
Fri, 20 Nov 2015 18:36:30 +0000 (18:36 +0000)
commitb58d0595255390e1e093d68721378e7301bc3794
treea0ac501a770a20773e2fd371ad9f3fc6d959ed7a
parent2b11b94c0ca3b8c7b352fd9abdc90b7fd21da0cd
MDL-37834 assign: avoid newlines in status column of csv

Previously we were generating a CSV file with newlines in it, which
seems to cause problems importing into some versions of MS Excel.

Instead seperate status lines by '-' - this column is only used to
provide context to the teacher in the spreadsheet.
mod/assign/gradingtable.php