Index: /branches/dev/data/class/SC_CustomerList.php
===================================================================
--- /branches/dev/data/class/SC_CustomerList.php	(revision 13980)
+++ /branches/dev/data/class/SC_CustomerList.php	(revision 13982)
@@ -215,7 +215,7 @@
         			} else {
         				if($sql_where == "") {
-        					$sql_where .= "dtb_customer.email ILIKE ? ";
+        					$sql_where .= "dtb_customer.mailmaga_flg = 0 AND email ILIKE ? ";
         				} else {
-        					$sql_where .= "OR dtb_customer.email ILIKE ? " ;
+        					$sql_where .= "OR dtb_customer.mailmaga_flg = 0 AND email ILIKE ? " ;
         				}
         			}
@@ -225,5 +225,4 @@
         	}
         	$this->setWhere($sql_where);
-        	$this->setWhere("mailmaga_flg = 0");
         }
 
