We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d2a984 commit 70071f1Copy full SHA for 70071f1
1 file changed
src/Panel/RoutesPanel.php
@@ -37,7 +37,7 @@ public function summary()
37
}
38
39
$routes = array_filter(Router::routes(), function ($route) {
40
- return $route->defaults['plugin'] !== 'DebugKit';
+ return (!isset($routes->defaults['plugin'])) || $route->defaults['plugin'] !== 'DebugKit';
41
});
42
43
return count($routes);
0 commit comments