Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.9.1
-
Fix Version/s: None
-
Component/s: Administration
-
Labels:None
-
Database:Any
-
Affected Branches:MOODLE_19_STABLE
Description
In 'lib/csvlib.class.php' the code to encode the CSV delimiter character misses the trailing semicolon:
$encdelim = '&#' . ord($delimiter);
=>
$encdelim = '&#' . ord($delimiter) . ';';
I have found the same problem in 'admin/user/user_bulk_download.php'. I am assigning this bug to Petr since he is mentioned as author within csvlib.class.php.
The attached patch (
MDL-15065.patch) fixes this problem in both affected files.MDL-15065.patch) fixes this problem in both affected files.