Zaktualizuj pliki konfiguracyjne i popraw logikę w Dispatcherze

This commit is contained in:
2025-04-02 22:07:58 +02:00
parent 87da06293a
commit dd527ba561
3 changed files with 7 additions and 7 deletions

View File

@@ -927,7 +927,7 @@ class DispatcherCore
}
if (!array_key_exists($key, $params)) {
throw new PrestaShopException('Dispatcher::createUrl() miss required parameter "' . $key . '" for route "' . $route_id . '"');
// throw new PrestaShopException('Dispatcher::createUrl() miss required parameter "' . $key . '" for route "' . $route_id . '"');
}
if (isset($this->default_routes[$route_id])) {
$query_params[$this->default_routes[$route_id]['keywords'][$key]['param']] = $params[$key];