Index: avatar_selection.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/avatar_selection/avatar_selection.module,v
retrieving revision 1.1.2.22.2.32
diff -u -p -r1.1.2.22.2.32 avatar_selection.module
--- avatar_selection.module 28 Apr 2008 20:48:56 -0000 1.1.2.22.2.32
+++ avatar_selection.module 9 May 2008 11:24:15 -0000
@@ -163,11 +163,13 @@ function avatar_selection_form_user_regi
   $selects = _avatar_selection_image_list($anon_user);
   if (count($selects['avatars'])) {
     drupal_add_css(drupal_get_path('module', 'avatar_selection') .'/avatar_selection.css');
-    $form['picture'] = array(
-      '#type' => 'fieldset',
-      '#title' => t('Picture'),
-      '#weight' => 1,
-    );
+    if (!is_array($form['picture'])) {
+      $form['picture'] = array(
+        '#type' => 'fieldset',
+        '#title' => t('Picture'),
+        '#weight' => 1,
+      );
+    }
     $form['picture']['select_avatar'] = array(
       '#type' => 'radios',
       '#title' => t('Select an avatar'),
