diff --git a/code/Newsletter/RecipientImportField.php b/code/Newsletter/RecipientImportField.php index 125d2e0e..d3775f47 100755 --- a/code/Newsletter/RecipientImportField.php +++ b/code/Newsletter/RecipientImportField.php @@ -208,7 +208,7 @@ class RecipientImportField_UploadForm extends Form { } function isValidCSV( $file ) { - return preg_match( '/.*\.csv$/', $file['name'] ) > 0; + return preg_match( '/.*\.csv$/i', $file['name'] ) > 0; } function confirm( $data, $form ) { diff --git a/templates/Newsletter_RecipientImportField.ss b/templates/Newsletter_RecipientImportField.ss index cd2758e8..61d1d301 100755 --- a/templates/Newsletter_RecipientImportField.ss +++ b/templates/Newsletter_RecipientImportField.ss @@ -13,6 +13,8 @@