Browse Source

Why does handler work on drop6 and not on edo ?

Frederic G. MARAND 12 years ago
parent
commit
d8553409c1
1 changed files with 1 additions and 8 deletions
  1. 1 8
      views/tweak_handler_field_user_picture_preset.inc

+ 1 - 8
views/tweak_handler_field_user_picture_preset.inc

@@ -26,15 +26,8 @@ class tweak_handler_field_user_picture_preset extends views_handler_field_user_p
       '#type' => 'select',
       '#title' => t('Imagecache preset'),
       '#options' => $options,
-      '#default_value' => $this->options['preset'],
+      '#default_value' => isset($this->options['preset']) ? $this->options['preset'] : '0',
     );
-
-    if (!empty($form_state['exposed'])) {
-      $identifier = $this->options['expose']['identifier'];
-      if (!isset($form_state['input'][$identifier])) {
-        $form_state['input'][$identifier] = $this->value;
-      }
-    }
   }
 
   function admin_summary() {