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