Changeset 13982


Ignore:
Timestamp:
2007/05/31 21:06:44 (17 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/class/SC_CustomerList.php

    r13980 r13982  
    215215                    } else { 
    216216                        if($sql_where == "") { 
    217                             $sql_where .= "dtb_customer.email ILIKE ? "; 
     217                            $sql_where .= "dtb_customer.mailmaga_flg = 0 AND email ILIKE ? "; 
    218218                        } else { 
    219                             $sql_where .= "OR dtb_customer.email ILIKE ? " ; 
     219                            $sql_where .= "OR dtb_customer.mailmaga_flg = 0 AND email ILIKE ? " ; 
    220220                        } 
    221221                    } 
     
    225225            } 
    226226            $this->setWhere($sql_where); 
    227             $this->setWhere("mailmaga_flg = 0"); 
    228227        } 
    229228 
Note: See TracChangeset for help on using the changeset viewer.