Changeset 14109


Ignore:
Timestamp:
2007/06/01 15:58:20 (17 years ago)
Author:
nakanishi
Message:
 
File:
1 edited

Legend:

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

    r14107 r14109  
    8080        if ( strlen($this->arrSql['name']) > 0 ) { 
    8181            if(DB_TYPE == "pgsql"){ 
    82                 $this->setWhere("(name01 || name02) LIKE ?" ); 
     82                $this->setWhere("(name01 || name02 LIKE ?)" ); 
    8383            }elseif(DB_TYPE == "mysql"){ 
    8484                $this->setWhere("concat(name01,name02) LIKE ?" ); 
     
    9292        if ( strlen($this->arrSql['kana']) > 0 ) { 
    9393            if(DB_TYPE == "pgsql"){ 
    94                 $this->setWhere("(kana01 || kana02) LIKE ?"); 
     94                $this->setWhere("(kana01 || kana02 LIKE ?)"); 
    9595            }elseif(DB_TYPE == "mysql"){ 
    9696                $this->setWhere("concat(kana01,kana02) LIKE ?" ); 
     
    218218                            $sql_where .= "dtb_customer.email ILIKE ? "; 
    219219                        } else { 
    220                             $sql_where .= "OR dtb_customer.email ILIKE ? " ; 
     220                            $sql_where .= "OR dtb_customer.email LIKE ? " ; 
    221221                        } 
     222                        $sql_where = "(".$sql_where.")"; 
    222223                    } 
    223224                    $searchDomain = $this->addSearchStr($val); 
Note: See TracChangeset for help on using the changeset viewer.