Skip to content

Commit d8c925a

Browse files
authored
Merge pull request #7060 from baycik/develop
Fixing bug with legacy autoRoute when testing
2 parents 9d255cd + fa27b95 commit d8c925a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

system/Router/Router.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,8 +574,6 @@ public function setDirectory(?string $dir = null, bool $append = false, bool $va
574574
{
575575
if (empty($dir)) {
576576
$this->directory = null;
577-
578-
return;
579577
}
580578

581579
if ($this->autoRouter instanceof AutoRouter) {

0 commit comments

Comments
 (0)