Browse Source

fix empty URI processing

main
ghost 1 year ago
parent
commit
b3ec1d42a7
  1. 6
      library/helper.php

6
library/helper.php

@ -117,6 +117,12 @@ class Helper { @@ -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))) {

Loading…
Cancel
Save