Changeset 12491
- Timestamp:
- 2007/05/10 18:29:22 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/class/SC_CustomerList.php
r12490 r12491 214 214 if($domain==3){ 215 215 if($this->arrSql['mail_type']==1){ 216 $ this->setWhere( "email LIKE ? ");216 $sql_where .= "dtb_customer.email LIKE ? " ; 217 217 }elseif($this->arrSql['mail_type']==2){ 218 $ this->setWhere( "email_mobile LIKE ? ");218 $sql_where .= "dtb_customer.email_mobile LIKE ? " ; 219 219 } 220 220 } … … 222 222 if($domain==2){ 223 223 if($this->arrSql['mail_type']==1){ 224 $ this->setWhere( "email NOT LIKE ? ");224 $sql_where .= "email NOT LIKE ? " ; 225 225 }elseif($this->arrSql['mail_type']==2){ 226 $ this->setWhere( "email_mobile NOT LIKE ? ");226 $sql_where .= "email_mobile NOT LIKE ? " ; 227 227 } 228 228 } … … 230 230 } 231 231 print_r($searchDomain); 232 $this->setWhere($sql_where); 232 233 } 233 234
Note: See TracChangeset
for help on using the changeset viewer.