Index: /Applications/MAMP/htdocs/project6/drupal/sites/all/modules/views/includes/handlers.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/includes/handlers.inc,v
retrieving revision 1.105
diff -u -p -r1.105 handlers.inc
--- includes/handlers.inc	30 Jan 2009 00:01:41 -0000	1.105
+++ includes/handlers.inc	8 Feb 2009 22:49:04 -0000
@@ -693,10 +693,10 @@ class views_many_to_one_helper {
           // The table alias needs to be unique to this value across the
           // multiple times the filter or argument is called by the view.
           if (!isset($this->handler->view->many_to_one_aliases[$field][$value])) {
-            if (!isset($this->handler->view->many_to_one_count[$field])) {
-              $this->handler->view->many_to_one_count[$field] = 0;
+            if (!isset($this->handler->view->many_to_one_count[$this->handler->table])) {
+              $this->handler->view->many_to_one_count[$this->handler->table] = 0;
             }
-            $this->handler->view->many_to_one_aliases[$field][$value] = $this->handler->table . '_value_' . ($this->handler->view->many_to_one_count[$field]++);
+            $this->handler->view->many_to_one_aliases[$field][$value] = $this->handler->table . '_value_' . ($this->handler->view->many_to_one_count[$this->handler->table]++);
           }
           $alias = $this->handler->table_aliases[$value] = $this->add_table($join, $this->handler->view->many_to_one_aliases[$field][$value]);
 
