|
@@ -320,8 +320,8 @@ class Customer_list_adminAction extends Action{
|
|
|
//$where = "uid = '$uid'";
|
|
|
//$is_ndr_user = $admin->select_ndr_user($where,$data['email']);
|
|
|
//过滤字符串
|
|
|
- if( strstr($email_tmp,"'") ){
|
|
|
- $info = "导入失败".$email_tmp."含有单引号!";
|
|
|
+ if(strpos($email_tmp, "'") !== false || strpos($email_tmp, '"') !== false){
|
|
|
+ $info = "导入失败".$email_tmp."含有引号!";
|
|
|
header("Location:/?a=customer_list_admin&m=index&info=$info");
|
|
|
exit();
|
|
|
}
|