mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 12:38:44 +02:00
N°8910 - Upgrade Symfony packages (#811)
This commit is contained in:
@@ -239,7 +239,13 @@ class RouteCollection implements \IteratorAggregate, \Countable
|
||||
}
|
||||
|
||||
foreach ($this->aliases as $name => $alias) {
|
||||
$prefixedAliases[$prefix.$name] = $alias->withId($prefix.$alias->getId());
|
||||
$targetId = $alias->getId();
|
||||
|
||||
if (isset($this->routes[$targetId]) || isset($this->aliases[$targetId])) {
|
||||
$targetId = $prefix.$targetId;
|
||||
}
|
||||
|
||||
$prefixedAliases[$prefix.$name] = $alias->withId($targetId);
|
||||
}
|
||||
|
||||
$this->routes = $prefixedRoutes;
|
||||
|
||||
Reference in New Issue
Block a user