mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-02-03 10:25:52 +00:00
fix empty URI processing
This commit is contained in:
parent
7ddb47619a
commit
b3ec1d42a7
@ -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…
x
Reference in New Issue
Block a user