diff --git a/app/Core/Router.php b/app/Core/Router.php index 4d87d722..5e3b887d 100644 --- a/app/Core/Router.php +++ b/app/Core/Router.php @@ -149,7 +149,9 @@ class Router 'page' !== $name || 1 !== $args[$name] ) { - $data['{' . $name . '}'] = \rawurlencode(\str_replace($this->subSearch, $this->subRepl, (string) $args[$name])); + $data['{' . $name . '}'] = \is_integer($args[$name]) + ? (string) $args[$name] + : \rawurlencode(\str_replace($this->subSearch, $this->subRepl, (string) $args[$name])); continue; }