Index: handlers/views_handler_field.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/handlers/views_handler_field.inc,v
retrieving revision 1.14
diff -u -p -r1.14 views_handler_field.inc
--- handlers/views_handler_field.inc	8 Apr 2009 05:23:56 -0000	1.14
+++ handlers/views_handler_field.inc	13 Apr 2009 07:52:05 -0000
@@ -151,6 +151,7 @@ class views_handler_field extends views_
         'alt' => array('default' => '', 'translatable' => TRUE),
         'prefix' => array('default' => '', 'translatable' => TRUE),
         'suffix' => array('default' => '', 'translatable' => TRUE),
+        'empty' => array('default' => '', 'translatable' => TRUE),
         'trim' => array('default' => FALSE),
         'max_length' => array('default' => ''),
         'word_boundary' => array('default' => TRUE),
@@ -180,6 +181,12 @@ class views_handler_field extends views_
       '#default_value' => $this->options['exclude'],
       '#description' => t('Check this box to not display this field, but still load it in the view.  Use this option to not show a grouping field in each record, or when doing advanced theming.'),
     );
+    $form['empty'] = array(
+      '#type' => 'textfield',
+      '#title' => t('Empty Text'),
+      '#default_value' => $this->options['empty'],
+      '#description' => t('This value will be displayed, if the field is empty.'),
+    );
 
     if ($this->allow_advanced_render()) {
       $form['alter']['#tree'] = TRUE;
@@ -383,6 +390,11 @@ class views_handler_field extends views_
    */
   function render($values) {
     $value = $values->{$this->field_alias};
+
+    if (is_empty($value)) {
+      $value = $this->option['empty'];
+    }
+
     return check_plain($value);
   }
 
