Changeset 12490


Ignore:
Timestamp:
2007/05/10 18:26:25 (17 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

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

    r12489 r12490  
    214214                if($domain==3){ 
    215215                    if($this->arrSql['mail_type']==1){ 
    216                         $sql_where .= "dtb_customer.email LIKE ? " ; 
     216                        $this->setWhere( "email LIKE ? "); 
    217217                }elseif($this->arrSql['mail_type']==2){ 
    218                         $sql_where .= "dtb_customer.email_mobile LIKE ? " ; 
     218                        $this->setWhere( "email_mobile LIKE ? "); 
    219219                    } 
    220220                } 
     
    222222                if($domain==2){ 
    223223                    if($this->arrSql['mail_type']==1){ 
    224                         $sql_where .= "email NOT LIKE ? " ; 
     224                        $this->setWhere( "email NOT LIKE ? "); 
    225225                }elseif($this->arrSql['mail_type']==2){ 
    226                         $sql_where .= "email_mobile NOT LIKE ? " ; 
     226                        $this->setWhere( "email_mobile NOT LIKE ? "); 
    227227                    } 
    228228                } 
     
    230230            } 
    231231            print_r($searchDomain); 
    232             $this->setWhere($sql_where); 
    233232        } 
    234233         
Note: See TracChangeset for help on using the changeset viewer.