mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 适配PHP7版本的返回参数提交
This commit is contained in:
parent
fbde9c2dce
commit
ff7f878fd6
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user