diff --git a/library/helper.php b/library/helper.php index 19bcc0f..8de2c7e 100644 --- a/library/helper.php +++ b/library/helper.php @@ -117,6 +117,12 @@ class Helper { } } + // URI correction + if (empty($link->page->uri)) { + + $link->page->uri = '/'; + } + // Add host page if not exists if ($hostPage = $db->findHostPageByCRC32URI($hostId, crc32($link->page->uri))) {