diff --git a/mod.php b/mod.php index 248c04ce..ff3c753b 100644 --- a/mod.php +++ b/mod.php @@ -196,10 +196,8 @@ foreach ($pages as $uri => $handler) { $debug['time']['parse_mod_req'] = '~' . round((microtime(true) - $parse_start_time) * 1000, 2) . 'ms'; } - if (is_array($matches)) { - // we don't want to call named parameters (PHP 8) - $matches = array_values($matches); - } + // We don't want to call named parameters (PHP 8). + $matches = array_values($matches); if (is_string($handler)) { if ($handler[0] == ':') {