diff --git a/modules/genpass/genpass.module b/modules/genpass/genpass.module index 5aa03bc..0bef235 100644 --- a/modules/genpass/genpass.module +++ b/modules/genpass/genpass.module @@ -161,7 +161,7 @@ function genpass_form_alter(&$form, $form_state, $form_id) { // indication of what will happen if left blank case GENPASS_OPTIONAL: $pass_item['#required'] = FALSE; - $pass_item['#description'] .= (empty($pass_item['#description']) ? '' : $pass_item['#description'] . ' ') . t('If left blank, a password will be generated for you.'); + $pass_item['#description'] = (empty($pass_item['#description']) ? '' : $pass_item['#description'] . ' ') . t('If left blank, a password will be generated for you.'); break; // If password is restricted, remove access case GENPASS_RESTRICTED: @@ -276,4 +276,5 @@ function genpass_add_samples($array) { $return[$module] = $module . ' (' . t('examples') . ': ' . htmlentities(module_invoke($module, 'password')) . ', ' . htmlentities(module_invoke($module, 'password')) . ')'; } return $return; -} \ No newline at end of file +} +