Index: includes/handlers.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/includes/handlers.inc,v
retrieving revision 1.96
diff -u -r1.96 handlers.inc
--- includes/handlers.inc	30 Sep 2008 23:59:04 -0000	1.96
+++ includes/handlers.inc	21 Oct 2008 13:28:50 -0000
@@ -675,7 +675,8 @@
               'numeric' => !empty($this->handler->definition['numeric']),
             ),
           );
-          $alias = $this->handler->table_aliases[$value] = $this->add_table($join, $this->handler->table . '_' . $value);
+          $alias = $this->handler->table . '_' . strtr($value, ' ', '_');
+          $alias = $this->handler->table_aliases[$value] = $this->add_table($join, $alias);
 
           // and set table_alias to the first of these.
           if (empty($this->handler->table_alias)) {
