From 52aff1bfd3d64775edbd6b5e6b8a1590cf76e2ea Mon Sep 17 00:00:00 2001 From: poltawski Date: Mon, 25 May 2009 09:50:06 +0000 Subject: [PATCH] outcomes/import MDL-19227 - stray break preventing import thanks to Matt Oquist for the patch --- grade/edit/outcome/import.php | 1 - 1 file changed, 1 deletion(-) diff --git a/grade/edit/outcome/import.php b/grade/edit/outcome/import.php index 11f11494986..e7ceeb752ab 100644 --- a/grade/edit/outcome/import.php +++ b/grade/edit/outcome/import.php @@ -203,7 +203,6 @@ if ($handle = fopen($imported_file['userfile']['tmp_name'], 'r')) { print_box(get_string('importskippedoutcome', 'grades', $csv_data[$imported_headers['outcome_shortname']])); continue; } - break; // new outcome will be added, search for compatible existing scale... $scale = get_records_select('scale', 'name =\''. addslashes($csv_data[$imported_headers['scale_name']]) .'\' and scale =\''. addslashes($csv_data[$imported_headers['scale_items']]) .'\' and (courseid = '. $courseid .' or courseid = 0)');