|
@@ -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() {
|