Changeset 12340


Ignore:
Timestamp:
2007/05/09 11:50:16 (17 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

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

    r12339 r12340  
    200200 
    201201        //¥É¥á¥¤¥ó»ØÄê 
    202 /*        if ( $mode == 'magazine' ){ 
    203             if ( strlen($this->arrSql['domain']) > 0 && $this->arrSql['domain'] == 3) { 
     202        if ( $mode == 'magazine' ){ 
     203            if ( strlen($this->arrSql['domain']) > 0) { 
    204204¡¡¡¡¡¡¡¡¡¡¡¡    if(DB_TYPE == "pgsql"){ 
    205205                $this->setWhere( "(email || email_mobile LIKE ?)" ); 
    206206            }elseif(DB_TYPE == "mysql"){ 
    207207                $this->setWhere("concat(email,email_mobile) LIKE ?" ); 
    208             }¡¡¡¡ 
    209             $searchDomainType = $this->addSearchStr($this->arrSql['domain_type']); 
    210             $this->arrVal[] = $searchDomaintype; 
    211             } 
    212             if ( strlen($this->arrSql['domain']) > 0 && $this->arrSql['domain'] == 2) { 
    213             if(DB_TYPE == "pgsql"){ 
    214                 $this->setWhere( "(email || email_mobile LIKE ?)" ); 
    215             }elseif(DB_TYPE == "mysql"){ 
    216                 $this->setWhere("concat(email,email_mobile) LIKE ?" ); 
    217             } 
    218             $searchDomainType = $this->addSearchStr($this->arrSql['domain_type']); 
    219             $this->arrVal[] = $searchDomaintype; 
     208            }¡¡¡¡             
    220209            } 
    221210        } 
Note: See TracChangeset for help on using the changeset viewer.