Index: branches/dev/data/class/SC_CustomerList.php
===================================================================
--- branches/dev/data/class/SC_CustomerList.php	(revision 14075)
+++ branches/dev/data/class/SC_CustomerList.php	(revision 14076)
@@ -210,13 +210,13 @@
         			if($this->arrSql['not_domaininc'] == '1') {
         				if($sql_where == "") {
-        					$sql_where .= "dtb_customer.email  ILIKE ? ";
+        					$sql_where .= "dtb_customer.email NOT ILIKE ? ";
         				} else {
-        					$sql_where .= "OR dtb_customer.email  ILIKE ? " ;
+        					$sql_where .= "AND dtb_customer.email NOT ILIKE ? " ;
         				}
         			} else {
         				if($sql_where == "") {
-        					$sql_where .= "dtb_customer.email NOT ILIKE ? ";
+        					$sql_where .= "dtb_customer.email ILIKE ? ";
         				} else {
-        					$sql_where .= "AND dtb_customer.email NOT ILIKE ? " ;
+        					$sql_where .= "OR dtb_customer.email ILIKE ? " ;
         				}
         			}
