Index: branches/dev/data/class/SC_CustomerList.php
===================================================================
--- branches/dev/data/class/SC_CustomerList.php	(revision 13988)
+++ branches/dev/data/class/SC_CustomerList.php	(revision 13989)
@@ -208,9 +208,9 @@
         	if ( $this->arrSql['domain'] > 1 ) {
         		foreach($arrDomainType as $val) {
-        			if($this->arrSql['not_domaininc'] == '2') {
+        			if($this->arrSql['domain'] == '3') {
         				if($sql_where == "") {
-        					$sql_where .= "dtb_customer.email NOT ILIKE ? ";
+        					$sql_where .= "dtb_customer.email ILIKE ? ";
         				} else {
-        					$sql_where .= "OR dtb_customer.email NOT ILIKE ? " ;
+        					$sql_where .= "OR dtb_customer.email ILIKE ? " ;
         				}
         			} else {
