Changeset 12529
- Timestamp:
- 2007/05/10 21:04:31 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/class/SC_CustomerList.php
r12528 r12529 234 234 if($domain == 3) { 235 235 foreach($arrDomainType as $val) { 236 if($this->arrSql['mail_type'] == 1 ){ 237 if($sql_where == "") { 238 $sql_where .= "dtb_customer.email ILIKE ? "; 239 } else { 240 $sql_where .= "OR dtb_customer.email LIKE ? " ; 241 } 242 }else{ 243 if($sql_where == "") { 244 $sql_where .= "dtb_customer.email_mobile ILIKE ? "; 245 } else { 246 $sql_where .= "OR dtb_customer.email_mobile LIKE ? " ; 236 switch($this->arrSql['mail_type']){ 237 case '1': 238 if($sql_where == "") { 239 $sql_where .= "dtb_customer.email ILIKE ? "; 240 } else { 241 $sql_where .= "OR dtb_customer.email LIKE ? " ; 242 } 243 break; 244 case '2': 245 if($sql_where == "") { 246 $sql_where .= "dtb_customer.email_mobile ILIKE ? "; 247 } else { 248 $sql_where .= "OR dtb_customer.email_mobile LIKE ? " ; 247 249 } 248 250 }
Note: See TracChangeset
for help on using the changeset viewer.