修正一处错误

This commit is contained in:
thinkphp
2016-03-21 16:57:30 +08:00
parent 4d01abcb29
commit 7aff11c165

View File

@@ -338,6 +338,8 @@ class Validate
$callback = isset($this->type[$type]) ? $this->type[$type] : [$this, $type];
// 验证数据
$result = call_user_func_array($callback, [$value, $rule, &$data, $field]);
} else {
$result = true;
}
}