Changeset 13952


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

Legend:

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

    r13951 r13952  
    204204            global $arrDomainType; 
    205205            $sql_where = ""; 
    206             $domain = ($this->arrSql['domain']); 
    207206            //¥É¥á¥¤¥ó»ØÄê»þ 
    208             if($domain == 2 || $domain == 3) { 
     207            if ( strlen($this->arrSql['domain']) > 1 ) { 
    209208                foreach($arrDomainType as $val) { 
    210209                    //PC¥É¥á¥¤¥ó 
    211                     if($domain == 2) { 
     210                    if($this->arrSql['domain'] == 2) { 
    212211                        if($sql_where == "") { 
    213212                            $sql_where .= "dtb_customer.email NOT ILIKE ? "; 
     
    217216                    } 
    218217                    //·ÈÂӥɥᥤ¥ó 
    219                     if($domain == 3) { 
     218                    if($this->arrSql['domain'] == 3) { 
    220219                        if($sql_where == "") { 
    221220                            $sql_where .= "dtb_customer.email ILIKE ? "; 
     
    227226                    $this->arrVal[] = $searchDomain; 
    228227                } 
    229             } 
    230228            $this->setWhere($sql_where); 
    231229        } 
Note: See TracChangeset for help on using the changeset viewer.