diff --git a/genpass.module b/genpass.module
index 0147a92..fc36452 100644
--- a/genpass.module
+++ b/genpass.module
@@ -140,6 +140,9 @@ function genpass_form_alter(&$form, $form_state, $form_id) {
         // indication of what will happen if left blank
         case GENPASS_OPTIONAL:
           $pass_item['#required'] = FALSE;
+          if (!isset($pass_item['#description'])) {
+            $pass_item['#description'] = '';
+          }
           $pass_item['#description'] .= ' ' . t('If left blank, a password will be generated for you.');
           break;
         // If password is restricted, remove access
