Index: handlers/views_handler_argument_numeric.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/handlers/views_handler_argument_numeric.inc,v
retrieving revision 1.1.6.1
diff -u -p -r1.1.6.1 views_handler_argument_numeric.inc
--- handlers/views_handler_argument_numeric.inc	2 Nov 2009 22:01:25 -0000	1.1.6.1
+++ handlers/views_handler_argument_numeric.inc	7 Jan 2011 19:36:06 -0000
@@ -81,14 +81,16 @@ class views_handler_argument_numeric ext
       $this->value = array($this->argument);
     }
 
+    $placeholder = $this->placeholder();
+    $null_check = empty($this->options['not']) ? '' : "OR $this->table_alias.$this->real_field IS NULL";
+
     if (count($this->value) > 1) {
       $operator = empty($this->options['not']) ? 'IN' : 'NOT IN';
-      $placeholders = implode(', ', array_fill(0, sizeof($this->value), '%d'));
-      $this->query->add_where(0, "$this->table_alias.$this->real_field", $this->value, $operator);
+      $this->query->add_where_expression(0, "$this->table_alias.$this->real_field $operator($placeholder) $null_check", array($placeholder => $this->value));
     }
     else {
       $operator = empty($this->options['not']) ? '=' : '!=';
-      $this->query->add_where(0, "$this->table_alias.$this->real_field", $this->argument, $operator);
+      $this->query->add_where_expression(0, "$this->table_alias.$this->real_field $operator $placeholder $null_check", array($placeholder => $this->argument));
     }
   }
 }
