modified 适配PHP7版本的返回参数提交

This commit is contained in:
Zhao 2019-03-20 18:16:48 +08:00
parent fbde9c2dce
commit ff7f878fd6

View File

@ -209,7 +209,7 @@ class Fields extends Base {
);
$dataArr[] = $addArr;
$prefix .= '[]';
if (is_array($data[0])) {
if (isset($data[0]) && is_array($data[0])) {
$this->handle($data[0], $dataArr, $prefix);
}
} else {