Index: branches/dev/data/class/SC_CustomerList.php
===================================================================
--- branches/dev/data/class/SC_CustomerList.php	(revision 13982)
+++ branches/dev/data/class/SC_CustomerList.php	(revision 13984)
@@ -207,5 +207,5 @@
         	if ( $this->arrSql['domain'] > 1 ) {
         		foreach($arrDomainType as $val) {
-        			if($this->arrSql['domain'] == '2') {
+        			if($this->arrSql['not_domaininc'] == '3') {
         				if($sql_where == "") {
         					$sql_where .= "dtb_customer.email NOT ILIKE ? ";
@@ -215,7 +215,7 @@
         			} else {
         				if($sql_where == "") {
-        					$sql_where .= "dtb_customer.mailmaga_flg = 0 AND email ILIKE ? ";
+        					$sql_where .= "dtb_customer.email ILIKE ? ";
         				} else {
-        					$sql_where .= "OR dtb_customer.mailmaga_flg = 0 AND email ILIKE ? " ;
+        					$sql_where .= "OR dtb_customer.email ILIKE ? " ;
         				}
         			}
