Index: trunk/extensions/EducationProgram/maintenance/importWEPData.php |
— | — | @@ -41,6 +41,12 @@ |
42 | 42 | $courses = array(); // course => org name |
43 | 43 | $students = array(); // student => [ courses ] |
44 | 44 | |
| 45 | + $text = str_replace( |
| 46 | + array( '_', '%27' ), |
| 47 | + array( ' ', "'" ), |
| 48 | + $text |
| 49 | + ); |
| 50 | + |
45 | 51 | foreach ( explode( "\n", $text ) as $line ) { |
46 | 52 | $cells = explode( ',', $line ); |
47 | 53 | |