mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
修正
This commit is contained in:
@@ -880,7 +880,7 @@ class Validate
|
|||||||
// 支持多个字段验证
|
// 支持多个字段验证
|
||||||
$fields = explode('^', $key);
|
$fields = explode('^', $key);
|
||||||
foreach ($fields as $key) {
|
foreach ($fields as $key) {
|
||||||
if (isset($data[$field])) {
|
if (isset($data[$key])) {
|
||||||
$map[$key] = $data[$key];
|
$map[$key] = $data[$key];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user