修正Input类一处问题

This commit is contained in:
thinkphp
2016-05-17 14:07:30 +08:00
parent 16bc9b9b2b
commit 92319c876c

View File

@@ -292,7 +292,7 @@ class Input
static::typeCast($data, $type); static::typeCast($data, $type);
} }
} else { } else {
$data = $default; $data = [];
} }
return $data; return $data;
} }