Index: node_type_filter.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/node_type_filter/node_type_filter.module,v retrieving revision 1.2 diff -u -r1.2 node_type_filter.module --- node_type_filter.module 9 Mar 2005 13:01:34 -0000 1.2 +++ node_type_filter.module 13 Jul 2006 16:49:50 -0000 @@ -20,7 +20,7 @@ */ function node_type_filter_db_rewrite_sql($query, $primary_table, $primary_field, $args) { if ($primary_field == 'nid') { - if ($str_types = $_REQUEST['type']) { + if (isset($_REQUEST['type']) && ($str_types = $_REQUEST['type'])) { $types = explode(',', $str_types); foreach ($types as $type) { $ctypes[] = db_escape_string($type);