mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修复变量重名导致的URL反解析错误
This commit is contained in:
@@ -269,8 +269,8 @@ class Url
|
||||
foreach ($rules as $group => $val) {
|
||||
list($rule, $route, $vars, $option, $pattern) = $val;
|
||||
if (is_array($rule)) {
|
||||
foreach ($rule as $key => $item) {
|
||||
list($key, $route, $var, $option, $pattern) = $item;
|
||||
foreach ($rule as $key => $ruleItem) {
|
||||
list($key, $route, $var, $option, $pattern) = $ruleItem;
|
||||
|
||||
$param = [];
|
||||
if (is_array($route)) {
|
||||
|
||||
Reference in New Issue
Block a user