Zaktualizuj znacznik czasu w pliku ftp-kr.sync.cache.json oraz zakomentuj wyjątek w klasie DispatcherCore

This commit is contained in:
2025-03-25 15:01:34 +01:00
parent 7a56b6a0d4
commit faaed0137f
2 changed files with 2 additions and 2 deletions

View File

@@ -223,7 +223,7 @@
"defines.inc.php": { "defines.inc.php": {
"type": "-", "type": "-",
"size": 8247, "size": 8247,
"lmtime": 1742246381718, "lmtime": 1742897029493,
"modified": false "modified": false
}, },
"defines_uri.inc.php": { "defines_uri.inc.php": {

View File

@@ -927,7 +927,7 @@ class DispatcherCore
} }
if (!array_key_exists($key, $params)) { 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])) { if (isset($this->default_routes[$route_id])) {
$query_params[$this->default_routes[$route_id]['keywords'][$key]['param']] = $params[$key]; $query_params[$this->default_routes[$route_id]['keywords'][$key]['param']] = $params[$key];