|
|
@ -592,6 +592,7 @@ abstract class Module extends Component |
|
|
|
if ($route === '') { |
|
|
|
if ($route === '') { |
|
|
|
$route = $this->defaultRoute; |
|
|
|
$route = $this->defaultRoute; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
$route = trim($route, '/'); |
|
|
|
if (($pos = strpos($route, '/')) !== false) { |
|
|
|
if (($pos = strpos($route, '/')) !== false) { |
|
|
|
$id = substr($route, 0, $pos); |
|
|
|
$id = substr($route, 0, $pos); |
|
|
|
$route = substr($route, $pos + 1); |
|
|
|
$route = substr($route, $pos + 1); |
|
|
|