Changeset 12491


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

Legend:

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

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