Commit 90276160 authored by Dries's avatar Dries

- Patch #347228 by kajetan: missing return statement.

parent 0cf64bca
......@@ -674,6 +674,7 @@ function locale_translate_import_form_submit($form, &$form_state) {
else {
drupal_set_message(t('File to import not found.'), 'error');
$form_state['redirect'] = 'admin/build/translate/import';
return;
}
$form_state['redirect'] = 'admin/build/translate';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment