### Eclipse Workspace Patch 1.0
#P views
Index: handlers/views_handler_filter_in_operator.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/handlers/views_handler_filter_in_operator.inc,v
retrieving revision 1.4
diff -u -r1.4 views_handler_filter_in_operator.inc
--- handlers/views_handler_filter_in_operator.inc	24 Sep 2008 22:28:06 -0000	1.4
+++ handlers/views_handler_filter_in_operator.inc	27 Nov 2008 09:41:11 -0000
@@ -181,33 +181,33 @@
       return;
     }
 
-    if (count($this->value) == 1) {
-      // If there is only one, show it as an =.
-      $keys = $this->value;
-      $key = array_shift($keys);
-
-      if (isset($this->value_options[$key])) {
-        $value = check_plain($this->value_options[$key]);
-      }
-      else {
-        $value = t('Unknown');
-      }
-
-      return (substr($this->operator, 0, 3) != 'not' ? '=' : '<>') . ' ' . $value;
-    }
     $output = '';
+    $count = 0;
     foreach ($this->value as $value) {
-      if ($output !== '') {
-        $output .= ', ';
+      if (!isset($this->value_options[$value])) {
+        continue;
+      }
+      if ($output === '') {
+        $output .= check_plain($this->value_options[$value]);
+      }
+      elseif (strlen($output) > 8) {
+        $output .= ', ...';
       }
-      if (strlen($output) > 8) {
-        $output .= '...';
-        break;
+      else {
+        $output .= ', ';
+        $output .= check_plain($this->value_options[$value]);
       }
-      $output .= check_plain($this->value_options[$value]);
+      $count++;
     }
 
-    return check_plain($this->operator) . ' ' . $output;
+    switch ($count) {
+    case 0:
+      return (substr($this->operator, 0, 3) != 'not' ? '=' : '<>') . ' ' . t('Unknown');
+    case 1:
+      return (substr($this->operator, 0, 3) != 'not' ? '=' : '<>') . ' ' . $output;
+    default:
+      return check_plain($this->operator) . ' ' . $output;
+    }
   }
 
   function query() {
