Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
&& 改为 ||
Browse files Browse the repository at this point in the history
  • Loading branch information
flutterbest authored Mar 17, 2020
1 parent 5be7640 commit 503f8a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/taobao/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function curl($url, $postFields = null)
$postMultipart = false;
foreach ($postFields as $k => $v)
{
if(!is_string($v) && !is_numeric($v))
if(!is_string($v) || !is_numeric($v))
continue ;
if("@" != substr($v, 0, 1))//判断是不是文件上传
{
Expand Down

0 comments on commit 503f8a2

Please sign in to comment.