diff --git a/drupal/sites/default/boinc/modules/boincwork/includes/boincwork.forms.inc b/drupal/sites/default/boinc/modules/boincwork/includes/boincwork.forms.inc index 53aeda6065..97e927bc10 100644 --- a/drupal/sites/default/boinc/modules/boincwork/includes/boincwork.forms.inc +++ b/drupal/sites/default/boinc/modules/boincwork/includes/boincwork.forms.inc @@ -1600,7 +1600,7 @@ function communityprefs_form_submit($form, &$form_state) { global $user; $account = user_load($user->uid); $boinc_user = BoincUser::lookup_id($account->boincuser_id); - $edit= $form_state['values']; + $edit = $form_state['values']; $profile_node = $form_state['storage']['profile_node']; // Display name @@ -1647,7 +1647,7 @@ function communityprefs_form_submit($form, &$form_state) { } user_save($user, $settings); - drupal_set_message(t('Your community preferences have been updated.')); + drupal_set_message(bts('Your community preferences have been updated.')); // Form will not redirect if storage is set; not good if language changes unset($form_state['storage']);