mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正Route类的一处bug
This commit is contained in:
@@ -130,7 +130,7 @@ class Route
|
||||
}
|
||||
if (0 === strpos($key, '[')) {
|
||||
if (empty($val)) {
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
$key = substr($key, 1, -1);
|
||||
$result = ['routes' => $val, 'option' => $option, 'pattern' => $pattern];
|
||||
|
||||
Reference in New Issue
Block a user