Skip to content

Commit

Permalink
[FIX] [3.x] Standard link not working #2065.
Browse files Browse the repository at this point in the history
  • Loading branch information
Seiger committed Jun 9, 2023
1 parent 5643a1e commit a975842
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/UrlProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ protected function generateAliasListingFolder(array $ids, &$aliases, &$isFolder)
->get();

foreach ($data as $row) {
if (empty($row->alias)) {
$row->alias = $row->id;
}

if ($useAliasPath && $row->parent > 0) {
$parent = $row->parent;
$path = $aliases[$parent];
Expand Down

0 comments on commit a975842

Please sign in to comment.