Changed behavior of router to always exspect returned output to be string.

This commit is contained in:
sessingo
2023-04-07 15:30:24 +02:00
parent ebf9224407
commit d6642a7f7b
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -427,7 +427,7 @@ class Router
$routeOutput = $route->renderRoute($this->request, $this);
if ($this->renderMultipleRoutes === true) {
if ($routeOutput !== null) {
if ($routeOutput !== '') {
return $routeOutput;
}