Changeset 14066


Ignore:
Timestamp:
2007/06/01 11:52:19 (17 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

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

    r14064 r14066  
    208208            if ( strlen($this->arrSql['domain']) > 0 && $this->arrSql['domain'] > 1) { 
    209209                foreach($arrDomainType as $val) { 
    210                     if($this->arrSql['domain'] == '2') { 
     210                    if($this->arrSql['domain'] == 3) { 
     211                        if($sql_where == "") { 
     212                            $sql_where .= "dtb_customer.email  ILIKE ? "; 
     213                        } else { 
     214                            $sql_where .= "OR dtb_customer.email  ILIKE ? " ; 
     215                        } 
     216                    } else { 
    211217                        if($sql_where == "") { 
    212218                            $sql_where .= "dtb_customer.email NOT ILIKE ? "; 
    213219                        } else { 
    214220                            $sql_where .= "AND dtb_customer.email NOT ILIKE ? " ; 
    215                         } 
    216                     } else { 
    217                         if($sql_where == "") { 
    218                             $sql_where .= "dtb_customer.email ILIKE ? "; 
    219                         } else { 
    220                             $sql_where .= "OR dtb_customer.email ILIKE ? " ; 
    221221                        } 
    222222                    } 
Note: See TracChangeset for help on using the changeset viewer.