正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
@@ -264,13 +264,13 @@ function web_request_emails():array { | @@ -264,13 +264,13 @@ function web_request_emails():array { | ||
264 | 264 | ||
265 | if(is_array($emails)){ | 265 | if(is_array($emails)){ |
266 | 266 | ||
267 | - }elseif($emails && strpos($emails,',') > 0){ | ||
268 | - $emails = explode(',',$emails); | ||
269 | }elseif($emails && str_starts_with($emails, '[')){ | 267 | }elseif($emails && str_starts_with($emails, '[')){ |
270 | $emails = json_decode($emails,true); | 268 | $emails = json_decode($emails,true); |
271 | }elseif($emails && str_starts_with($emails, '{')){ | 269 | }elseif($emails && str_starts_with($emails, '{')){ |
272 | $emails = json_decode($emails,true); | 270 | $emails = json_decode($emails,true); |
273 | - }else{ | 271 | + }elseif($emails && strpos($emails,',') > 0){ |
272 | + $emails = explode(',',$emails); | ||
273 | + } else{ | ||
274 | $emails = [$emails]; | 274 | $emails = [$emails]; |
275 | } | 275 | } |
276 | 276 |
-
请 注册 或 登录 后发表评论