summaryrefslogtreecommitdiff
path: root/includes/locale.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/locale.inc')
-rw-r--r--includes/locale.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index f2ff4e088..c067e1068 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -612,7 +612,7 @@ function locale_translate_import_form() {
*/
function locale_translate_import_form_submit($form, &$form_state, $form_values) {
// Ensure we have the file uploaded
- if ($file = file_check_upload('file')) {
+ if ($file = file_save_upload('file')) {
// Add language, if not yet supported
$languages = language_list('language', TRUE);