=== modified file 'uc_product/views/uc_product.views.inc'
--- uc_product/views/uc_product.views.inc	2010-03-16 21:15:17 +0000
+++ uc_product/views/uc_product.views.inc	2010-11-23 18:28:01 +0000
@@ -182,36 +182,6 @@
   return $data;
 }
 
-
-/**
- * Implement hook_views_handlers().
- */
-function uc_product_views_handlers() {
-  return array(
-    'info' => array(
-      'path' => drupal_get_path('module', 'uc_product') . '/views',
-    ),
-    'handlers' => array(
-      'uc_product_handler_field_price' => array(
-        'parent' => 'views_handler_field_numeric',
-      ),
-      'uc_product_handler_field_weight' => array(
-        'parent' => 'views_handler_field_numeric',
-      ),
-      'uc_product_handler_filter_product' => array(
-        'parent' => 'views_handler_filter_boolean_operator',
-      ),
-      'uc_product_handler_field_addtocart' => array(
-        'parent' => 'views_handler_field',
-      ),
-      'uc_product_handler_field_buyitnow' => array(
-        'parent' => 'views_handler_field',
-      ),
-    ),
-  );
-}
-
-
 /**
  * Implement hook_views_tables_alter().
  *

=== modified file 'uc_product/views/uc_product_handler_filter_product.inc'
--- uc_product/views/uc_product_handler_filter_product.inc	2010-03-16 21:15:17 +0000
+++ uc_product/views/uc_product_handler_filter_product.inc	2010-11-23 18:28:01 +0000
@@ -13,6 +13,6 @@
   function query() {
     $types = uc_product_types();
     $this->query->add_field('node', 'type');
-    $this->query->add_where($this->options['group'], "node.type " . (empty($this->value) ? "NOT " : "") . "IN (" . db_placeholders($types, 'varchar') . ")", $types);
+    $this->query->add_where($this->options['group'], 'node.type', $types, empty($this->value) ? 'NOT IN' : 'IN');
   }
 }

