浏览代码

Fix Core\Validator for array

Another 100500 fix O_o.
Visman 4 年之前
父节点
当前提交
fdbaa05f51
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Core/Validator.php

+ 1 - 0
app/Core/Validator.php

@@ -606,6 +606,7 @@ class Validator
                 }
             } elseif (
                 '*' !== $key
+                && \is_array($value)
                 && \array_key_exists($key, $value)
             ) {
                 $this->recArray($value[$key], $result[$key], $name, $rules, $field);