Changeset 13951


Ignore:
Timestamp:
2007/05/31 20:16:49 (17 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

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

    r13950 r13951  
    204204            global $arrDomainType; 
    205205            $sql_where = ""; 
     206            $domain = ($this->arrSql['domain']); 
    206207            //¥É¥á¥¤¥ó»ØÄê»þ 
    207              
     208            if($domain == 2 || $domain == 3) { 
    208209                foreach($arrDomainType as $val) { 
    209                     //»ØÄꤷ¤Ê¤¤ 
    210                     if($this->arrSql['domain'] == 1) { 
    211                         exit; 
    212                     } 
    213                      
    214210                    //PC¥É¥á¥¤¥ó 
    215                     if($this->arrSql['domain'] == 2) { 
     211                    if($domain == 2) { 
    216212                        if($sql_where == "") { 
    217213                            $sql_where .= "dtb_customer.email NOT ILIKE ? "; 
     
    221217                    } 
    222218                    //·ÈÂӥɥᥤ¥ó 
    223                     if($this->arrSql['domain'] == 3) { 
     219                    if($domain == 3) { 
    224220                        if($sql_where == "") { 
    225221                            $sql_where .= "dtb_customer.email ILIKE ? "; 
     
    231227                    $this->arrVal[] = $searchDomain; 
    232228                } 
    233              
     229            } 
    234230            $this->setWhere($sql_where); 
    235231        } 
Note: See TracChangeset for help on using the changeset viewer.