内核更新
This commit is contained in:
@@ -551,7 +551,7 @@ class Validate
|
||||
break;
|
||||
case 'boolean':
|
||||
// 是否为布尔值
|
||||
$result = $this->filter($value, FILTER_VALIDATE_BOOLEAN);
|
||||
$result = in_array($value, [0, 1, true, false]);
|
||||
break;
|
||||
case 'array':
|
||||
// 是否为数组
|
||||
|
||||
Reference in New Issue
Block a user