mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
修正
This commit is contained in:
@@ -1194,7 +1194,7 @@ class Validate
|
|||||||
*/
|
*/
|
||||||
protected function getDataValue($data, $key)
|
protected function getDataValue($data, $key)
|
||||||
{
|
{
|
||||||
if (is_numberic($key)) {
|
if (is_numeric($key)) {
|
||||||
$value = $key;
|
$value = $key;
|
||||||
} elseif (strpos($key, '.')) {
|
} elseif (strpos($key, '.')) {
|
||||||
// 支持二维数组验证
|
// 支持二维数组验证
|
||||||
|
|||||||
Reference in New Issue
Block a user